v2
latestOpenAPI 3.1.02026-08-05267431678.1 KBGet Inference Detail
Get a single inference record by ID.
Args: inference_id: The inference record UUID auth: Authentication result with user_id
Returns: InferenceRecord with full details
Raises: HTTPException: 404 if inference not found or outside the caller's team
Path parameters
Response
Successful Response
Unique inference ID
User who made the inference
Model ID used for inference
Human-readable model name
Task type (legacy; may be NULL for new inferences)
Input text
End-to-end latency in milliseconds
Streaming time to first visible output chunk in milliseconds; null for non-streaming calls and streams with no visible payload.
Token count
Non-cached input/prompt tokens, sourced from the metered requests row. None when no billing row was recorded.
Output/completion tokens, sourced from the metered requests row.
Input tokens served from the provider prompt cache (cache hit).
Input tokens written into the provider prompt cache (cache creation). Zero for providers that bill writes as plain input.
Source of the request (api or ui)
Inference status: success or failed
Failure category when status is failed (validation, timeout, model_not_ready, model_not_found, model_not_supported, capacity_exhausted, internal)
Error detail when status is failed
When the inference was made
Project ID the model belongs to
Training job UUID that produced the model
Inference provider (aws, modal, fireworks, etc.)
HuggingFace base model ID
Extensible metadata (e.g. LLM judge results)
Human reviewer verdict (correct/incorrect)
Optional reviewer notes
When human feedback was submitted
LLMAJ judge verdict ('pass', 'fail', or 'uncertain'); None until judged.
LLMAJ judge confidence score in [0.0, 1.0]; None until judged.
Timestamp when LLMAJ judgment was recorded; None until judged.
LLMAJ judge reasoning/explanation; None until judged.