inference-history

List Inference History

Changed on

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/v1/inferences

Request

Query parameters

limitinteger

Maximum records to return

offsetinteger

Number of records to skip

model_idstring nullable

Filter by model ID

taskstring nullable

Filter by task type

project_idstring nullable

Filter by project ID

training_job_idstring nullable

Filter by training job ID

latency_minnumber nullable

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

latency_maxnumber nullable

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

llmaj_score_minnumber nullable

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

llmaj_score_maxnumber nullable

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

sincestring nullable

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

untilstring nullable

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

Changes