Get Eval
Fetch one eval’s frozen headline: grading status plus accuracy
eval_id — the poll target for a run launched with POST /v3/workflows/{workflow_id}/evals/. The id in the response is the same identifier the launch returned as eval_id.
The response is the eval’s frozen headline: grading status, the accuracy fraction, its matched / mismatched / ungraded field tallies, the cohort’s file_count, and failed_count (documents that failed to enqueue). It carries counts, never internal ids.
Status model
The endpoint always returns200 while the eval exists — there are no precondition errors while grading is in flight.
status is terminal. On a processed eval, accuracy is the matched / (matched + mismatched) fraction — but it stays null when the graded denominator is 0 (nothing gradable, e.g. every field was ungraded for lack of ground truth). For production integrations, prefer webhooks over polling.
Unknown ids — including an eval on another workflow or organization — return 404 (existence never leaks). A caller who is not a member of the workflow’s organization gets 403.
Authorizations
API key issued from app.anyformat.ai/api-key. Send as Authorization: Bearer <key>.
Response
Successful Response
One eval's frozen headline — the poll target for a launched run.
id here is the same identifier the launch returned as eval_id. The
headline fields (accuracy, matched, mismatched, ungraded)
are null while status is in_progress; accuracy stays null
on a processed eval whose graded denominator is 0.
Unique identifier of the eval (hyphenated UUID); equals the launch's eval_id.
"069dcc2c-e14c-7606-8000-2ee4fb17b4f9"
Per-workflow run counter (#1, #2, …) for this eval.
3
Workflow version the eval scored.
"abcdef1234"
Grading status. Non-terminal: in_progress. Terminal: processed, error.
in_progress, processed, error "processed"
Number of dataset documents in the eval's realized cohort.
42
Number of dataset documents that failed to enqueue for this run.
0
Headline accuracy in [0, 1]; null while in_progress and on a processed eval with a 0 graded denominator.
0.94
Fields that matched ground truth; null while in_progress.
Fields that mismatched ground truth; null while in_progress.
Fields with no ground truth to grade against; null while in_progress.
Timestamp when the eval was created (ISO 8601).
