Skip to main content

Module types

Module types 

Source
Expand description

Public, fully-typed data models for every Floopy-only resource. Wire field names are snake_case and map 1:1 to Rust field names (no rename attributes needed).

Structs§

Batch
An asynchronous batch job. Mirrors the OpenAI batch object; the gateway forwards batch traffic verbatim.
BatchCreateParams
Arguments for crate::resources::Batches::create.
BatchList
Response of crate::resources::Batches::list.
BatchListParams
Filters for crate::resources::Batches::list.
BatchRequestCounts
Per-batch progress summary.
Decision
One row of the per-request decision audit trail. Nullable gateway fields are Option (None == JSON null).
DecisionListPage
One page of crate::resources::Decisions::list.
DecisionListParams
Filters for crate::resources::Decisions::list / pages / iter. Default is “no filter”.
EvaluationCreateParams
Arguments for crate::resources::Evaluations::create.
EvaluationResultRow
One scored row of an evaluation.
EvaluationResultsPage
One page of crate::resources::Evaluations::results.
EvaluationRun
A dataset evaluation run.
Experiment
An A/B routing experiment.
ExperimentCreateParams
Arguments for crate::resources::Experiments::create.
ExperimentListPage
One page of crate::resources::Experiments::list.
ExperimentListParams
Filters for crate::resources::Experiments::list.
ExperimentResults
Computed outcome of an experiment.
ExportDecisionsParams
Selects the export window and (server-side) format. The SDK always parses the JSONL stream; format is accepted for parity with the gateway.
ExportTrailer
The terminal record of the JSONL export: how many rows were emitted and whether the result was truncated.
ExportedDecisionRow
One row of the decision export.
FeedbackSubmitParams
Arguments for crate::resources::Feedback::submit.
FeedbackSubmitResponse
Response from crate::resources::Feedback::submit.
FileList
Response of crate::resources::Files::list.
FileListParams
Filters for crate::resources::Files::list.
FileObject
A file stored on the upstream provider. v1 targets the batch purpose (JSONL input + output files). Mirrors the OpenAI file shape; the gateway forwards file traffic verbatim.
FileUploadParams
Arguments for crate::resources::Files::upload.
OrgConstraints
Org-wide spend and rate constraints. All fields are Option: None means “no limit” — and, on put, clears any existing limit server-side (the gateway PUT is full-replace, so every field is always sent).
RoutingExplainParams
Arguments for crate::resources::Routing::explain. messages reuses the async-openai request-message type, so a request can be dry-run before it is sent.
RoutingExplainResult
Outcome of a routing dry-run.
Session
A conversation restored from Floopy’s stored logs.
SessionTurn
Provenance for one reconstructed exchange.
VariantResults
Aggregated metrics for one experiment variant.