v2

latestOpenAPI 3.1.02026-08-05267431678.1 KB
inference-history

List Inference History

List inference history for the authenticated user.

Returns all inference records across all model types (NER, classification, JSON extraction, decoder) sorted by most recent first.

Args: auth: Authentication result with user_id limit: Maximum number of records to return (default 100, max 500) offset: Number of records to skip for pagination model_id: Optional filter by model ID task: Optional filter by task type project_id: Optional filter by project ID training_job_id: Optional filter by training job ID latency_min/latency_max: Inclusive latency window in ms. llmaj_score_min/llmaj_score_max: Inclusive LLMAJ-score window in [0.0, 1.0]. since: Optional inclusive lower bound on created_at (ISO 8601). until: Optional exclusive upper bound on created_at (ISO 8601).

Returns: InferenceListResponse with paginated inference records.

Raises: HTTPException: 422 when min is greater than its paired max — returning an empty page would silently mask the caller's misordered query.

get/inferences

Query parameters

limitinteger

Maximum records to return

Maximum records to return

offsetinteger

Number of records to skip

Number of records to skip

model_idstring nullable

Filter by model ID

Filter by model ID

taskstring nullable

Filter by task type

Filter by task type

project_idstring nullable

Filter by project ID

Filter by project ID

training_job_idstring nullable

Filter by training job ID

Filter by training job ID

latency_minnumber nullable

Minimum latency in ms (must be >= 0).

Minimum latency in ms (must be >= 0).

latency_maxnumber nullable

Maximum latency in ms (must be >= 0).

Maximum latency in ms (must be >= 0).

llmaj_score_minnumber nullable

Minimum LLM-as-Judge score in [0.0, 1.0].

Minimum LLM-as-Judge score in [0.0, 1.0].

llmaj_score_maxnumber nullable

Maximum LLM-as-Judge score in [0.0, 1.0].

Maximum LLM-as-Judge score in [0.0, 1.0].

sincestring nullable

Inclusive lower bound on created_at (ISO 8601, UTC).

Inclusive lower bound on created_at (ISO 8601, UTC).

untilstring nullable

Exclusive upper bound on created_at (ISO 8601, UTC).

Exclusive upper bound on created_at (ISO 8601, UTC).

Response

Successful Response

totalinteger required

Total count of inferences matching filters

limitinteger required

Page size limit

offsetinteger required

Current offset