Endpoints
List past inferences
GET /inferences returns a paginated list of past inference calls. Use the query parameters below to filter results.
Query parameters
number
Maximum number of results to return per page.
number
Number of results to skip before returning. Use with
limit to paginate through results.string
Filter by model ID. Accepts a training job ID or a base model ID.
string
Filter by task type (e.g.
ner, classification, generate).string
Filter by project ID to see only inferences scoped to a specific project.
string
Filter by training job ID to see only inferences run against a specific fine-tuned model.
Example
Get inference details
GET /inferences/:id returns the full record for a single past inference, including the input text, schema, model response, and timestamp.
Submit correction feedback
POST /inferences/:id/feedback lets you submit a corrected version of what the model should have predicted. Corrections are used as labeled training examples for Adaptive Inference.
Feedback submitted here powers Adaptive Inference — Pioneer’s continuous improvement loop that automatically retrains your model on corrections collected from live traffic. See the Adaptive Inference guide for details on how this works.
Request parameters
object
required
The corrected output. The shape should match the schema used in the original inference — for example, a corrected
entities list for an NER inference.Example
Related
- Pioneer native inference — run new inferences
- Adaptive Inference guide — continuous model improvement from live traffic