> For the complete documentation index, see [llms.txt](https://docs.stackai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackai.com/stackai-api/rest-api-v2/experiments-and-jobs/get-v2-evals-experiments-experiment_id-status.md).

# GET /v2/evals/experiments/{experiment\_id}/status

## Get Eval Experiment Status

> Read the latest job and current result counts and aggregates.\
> \
> \*\*How to use\*\*\
> \
> Use for latest-job overview and current counts/aggregates. For one accepted execution, poll its dedicated job URL so a later job does not change what you are observing.\
> \
> \*\*Authentication and permissions\*\*\
> \
> Required permissions: \`evals.read\`. Resource and owner access checks also apply.

```json
{"openapi":"3.1.0","info":{"title":"StackAI API","version":"0.1.0"},"tags":[{"name":"endpoint-getEvalExperimentStatusV2"}],"servers":[{"url":"https://api.stack-ai.com","description":"Hosted API. Use your deployment-specific origin for private installations."}],"security":[{"HTTPBearer":[]}],"components":{"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer","description":"Personal API key (sk_...) or supported user access JWT. See Authentication and authorization for endpoint restrictions and scopes. Use exactly one Authorization header."}},"schemas":{"StackAIAPIDataResponse_EvalExperimentStatusResponseV2_":{"properties":{"response_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response Code","description":"Machine-readable response code, when provided."},"meta":{"additionalProperties":true,"type":"object","title":"Meta","description":"Additional metadata","default":{}},"data":{"$ref":"#/components/schemas/EvalExperimentStatusResponseV2","description":"Data returned by the API service"}},"type":"object","required":["data"],"title":"StackAIAPIDataResponse[EvalExperimentStatusResponseV2]"},"EvalExperimentStatusResponseV2":{"properties":{"latest_job":{"anyOf":[{"$ref":"#/components/schemas/EvalExperimentJobResponseV2"},{"type":"null"}]},"job_status_available":{"type":"boolean","title":"Job Status Available"},"status_counts":{"$ref":"#/components/schemas/EvalExperimentStatusCountsResponseV2"},"aggregate_cards":{"items":{"$ref":"#/components/schemas/EvalExperimentAggregateCardResponseV2"},"type":"array","title":"Aggregate Cards"}},"type":"object","required":["latest_job","job_status_available","status_counts","aggregate_cards"],"title":"EvalExperimentStatus"},"EvalExperimentJobResponseV2":{"properties":{"job_id":{"type":"string","format":"uuid","title":"Job Id","description":"Unique ID of this job. Each accepted job request creates a new one."},"experiment_id":{"type":"string","format":"uuid","title":"Experiment Id","description":"The experiment this job works on."},"mode":{"$ref":"#/components/schemas/EvalExperimentJobMode","description":"What the job does: generate outputs for the experiment's rows, optionally scoring them, or score existing outputs."},"evaluator_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Evaluator Ids"},"status":{"$ref":"#/components/schemas/EvalExperimentJobStatus","description":"Lifecycle state. queued and running are in progress; completed, completed_with_failures, failed and cancelled are final."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When the request was accepted."},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At","description":"When a worker started the job. Null while the job is queued."},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At","description":"When the job reached a final status. Null while queued or running."},"last_activity_at":{"type":"string","format":"date-time","title":"Last Activity At","description":"Last time the job's state changed."},"error":{"anyOf":[{"$ref":"#/components/schemas/EvalExperimentJobErrorResponse"},{"type":"null"}],"description":"Why the job ended early. Null unless status is failed or cancelled."}},"type":"object","required":["job_id","experiment_id","mode","evaluator_ids","status","created_at","started_at","finished_at","last_activity_at","error"],"title":"EvalExperimentJob"},"EvalExperimentJobMode":{"type":"string","enum":["generate","score"],"title":"EvalExperimentJobMode","description":"What a job does.\n\ngenerate: produce outputs for the experiment's rows, and score them when evaluators were\nselected. score: score existing outputs only; nothing is regenerated."},"EvalExperimentJobStatus":{"type":"string","enum":["queued","running","completed","completed_with_failures","failed","cancelled"],"title":"EvalExperimentJobStatus","description":"Lifecycle of a job.\n\nqueued and running are in progress. completed, completed_with_failures, failed and cancelled\nare final; completed_with_failures means the job finished but some rows or scores failed."},"EvalExperimentJobErrorResponse":{"properties":{"code":{"type":"string","title":"Code","description":"Stable machine-readable reason: job_launch_failed, job_failed, job_cancelled, job_timed_out, job_terminated or job_history_unavailable."},"message":{"type":"string","title":"Message","description":"Short human-readable explanation, safe to show to end users."}},"type":"object","required":["code","message"],"title":"EvalExperimentJobError"},"EvalExperimentStatusCountsResponseV2":{"properties":{"pending":{"type":"integer","title":"Pending"},"running":{"type":"integer","title":"Running"},"completed":{"type":"integer","title":"Completed"},"failed":{"type":"integer","title":"Failed"},"total":{"type":"integer","title":"Total"},"done":{"type":"integer","title":"Done"}},"type":"object","required":["pending","running","completed","failed","total","done"],"title":"EvalExperimentStatusCounts"},"EvalExperimentAggregateCardResponseV2":{"properties":{"evaluator_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Evaluator Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"aggregate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Aggregate"},"scored_count":{"type":"integer","title":"Scored Count"},"judge_failed_count":{"type":"integer","title":"Judge Failed Count"},"has_scores":{"type":"boolean","title":"Has Scores"},"segments":{"anyOf":[{"items":{"$ref":"#/components/schemas/EvalExperimentChoiceSegmentResponseV2"},"type":"array"},{"type":"null"}],"title":"Segments"}},"type":"object","required":["evaluator_id","name","aggregate","scored_count","judge_failed_count","has_scores","segments"],"title":"EvalExperimentAggregateCard"},"EvalExperimentChoiceSegmentResponseV2":{"properties":{"label":{"type":"string","title":"Label"},"count":{"type":"integer","title":"Count"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"}},"type":"object","required":["label","count","value"],"title":"EvalExperimentChoiceSegment"},"StackAIAPIErrorResponse":{"properties":{"response_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response Code","description":"Machine-readable response code, when provided."},"meta":{"additionalProperties":true,"type":"object","title":"Meta","description":"Additional metadata","default":{}},"errors":{"items":{"$ref":"#/components/schemas/StackAIAPIError"},"type":"array","title":"Errors","description":"List of errors"},"detail":{"items":{"type":"string"},"type":"array","title":"Detail","description":"Human-readable error messages. Use the HTTP status and error metadata to decide how to handle the failure.","readOnly":true}},"type":"object","required":["detail"],"title":"StackAIAPIErrorResponse","description":"Error response model with status code and error list."},"StackAIAPIError":{"properties":{"message":{"type":"string","title":"Message","description":"Message describing the error"}},"type":"object","required":["message"],"title":"StackAIAPIError","description":"Error detail model."}}},"paths":{"/v2/evals/experiments/{experiment_id}/status":{"get":{"tags":["endpoint-getEvalExperimentStatusV2"],"summary":"Get Eval Experiment Status","description":"Read the latest job and current result counts and aggregates.\n\n**How to use**\n\nUse for latest-job overview and current counts/aggregates. For one accepted execution, poll its dedicated job URL so a later job does not change what you are observing.\n\n**Authentication and permissions**\n\nRequired permissions: `evals.read`. Resource and owner access checks also apply.","operationId":"getEvalExperimentStatusV2","parameters":[{"name":"experiment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Experiment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StackAIAPIDataResponse_EvalExperimentStatusResponseV2_"}}}},"400":{"description":"Invalid request or pagination cursor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StackAIAPIErrorResponse"}}}},"401":{"description":"Missing or invalid credentials","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StackAIAPIErrorResponse"}}}},"403":{"description":"Denied permission, project folder access, or API-key scope (meta.required_scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StackAIAPIErrorResponse"}}}},"404":{"description":"Resource not found in the caller's organization","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StackAIAPIErrorResponse"}}}},"503":{"description":"Job launch was rejected or job state is temporarily unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StackAIAPIErrorResponse"}}}},"4XX":{"description":"Client error returned in the public API envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StackAIAPIErrorResponse"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stackai.com/stackai-api/rest-api-v2/experiments-and-jobs/get-v2-evals-experiments-experiment_id-status.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
