Fetch an eval run
GET
/v1/eval-runs/{runId}
const url = 'https://example.com/v1/eval-runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/eval-runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”runId
required
string format: uuid
EvalRunId — opaque branded UUID.
Responses
Section titled “Responses”Eval run.
Media typeapplication/json
object
runId
required
string format: uuid
tenantId
required
string format: uuid
suiteId
required
string
suiteVersion
required
string
kind
required
string
agentRef
object
agentId
required
string
version
string
flowRef
object
flowId
required
string
version
string
status
required
string
dryRun
required
boolean
startedAt
required
string format: date-time
completedAt
string format: date-time
result
Kind-specific opaque JSON. For accuracy, contains { passCount, totalCount, meanScore, perCase[] }. Other kinds define their own shapes as their dispatchers ship.
object
key
additional properties
any
error
string
correlationId
string
Example
{ "kind": "accuracy", "status": "pending"}Missing / malformed / expired / revoked bearer token.
Media typeapplication/json
object
error
required
object
code
required
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
string
message
required
string
details
Optional, kind-specific.
object
key
additional properties
any
requestId
required
Server-assigned request id; also echoed via X-Request-Id header.
string
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}No eval run with that id under this tenant.
Media typeapplication/json
object
error
required
object
code
required
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
string
message
required
string
details
Optional, kind-specific.
object
key
additional properties
any
requestId
required
Server-assigned request id; also echoed via X-Request-Id header.
string
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}