GET /v2/evals/scores/{score_id}
Retrieve a retained run score by its unique score ID.
How to use
Retrieve one retained score by score ID with evals.read and analytics.read. Use this to link an exact verdict in a review, rather than relying on the latest score.
Authentication and permissions
Required permissions: evals.read, analytics.read. Resource and owner access checks also apply.
Personal API key (sk_...) or supported user access JWT. See Authentication and authorization for endpoint restrictions and scopes. Use exactly one Authorization header.
Successful Response
Invalid request or pagination cursor
Error response model with status code and error list.
Machine-readable response code, when provided.
Human-readable error messages. Use the HTTP status and error metadata to decide how to handle the failure.
Missing or invalid credentials
Denied permission, project folder access, or API-key scope (meta.required_scope)
Resource not found in the caller's organization
Client error returned in the public API envelope
curl --fail-with-body -sS \
"$STACKAI_BASE_URL/v2/evals/scores/${SCORE_ID}" \
-H "Authorization: Bearer $STACKAI_API_KEY"{
"response_code": "text",
"meta": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"errors": [
{
"message": "text"
}
],
"detail": [
"text"
]
}Last updated
Was this helpful?

