Skip to content

List eval runs

GET
/v1/eval-runs
curl --request GET \
--url 'https://example.com/v1/eval-runs?limit=25&status=pending&scopeKind=tenant&inherit=true' \
--header 'Authorization: Bearer <token>'

Cursor-paginated. Filters: ?suiteId= / ?status= / ?agentId= / ?flowId= / ?from= / ?to=. Sort order: startedAt descending, runId descending as tie-breaker.

limit
integer
default: 25 >= 1 <= 100

1..100. Default 25.

cursor
string

Opaque cursor from a prior response. Absent → first page.

suiteId
string

Filter to runs against a specific suite id.

status
string
Allowed values: pending running completed failed cancelled

Filter to a single EvalRunStatus.

agentId
string

Filter to runs targeting a specific agent id.

flowId
string

Filter to runs targeting a specific flow id.

from
string format: date-time

ISO-8601 lower bound on startedAt (inclusive).

to
string format: date-time

ISO-8601 upper bound on startedAt (inclusive).

scopeKind

Discriminator for the ?scopeKind + ?scopeId + ?inherit triplet. Tenant carries no id (implicit from session); org/project require scopeId.

string
Allowed values: tenant org project

Optional scope discriminator. If absent, no scope filter is applied.

scopeId
string
>= 1 characters

Required IF scopeKind is org or project. MUST be absent if scopeKind=tenant (tenant is implicit from the session). Malformed combinations return 400 scope-invalid.

inherit
boolean
default: true

Default true. false = literal-at-this-scope only (admin/audit view). Load-bearing for policy/config-scoped resources (mcp-endpoints); documented no-op for content-scoped resources (agents/flows/tools/…).

Page of eval runs.

Media typeapplication/json
object
data
required
Array<object>
object
runId
required
string format: uuid
tenantId
required
string format: uuid
suiteId
required
string
suiteVersion
required
string
/^\d+\.\d+\.\d+$/
kind
required
string
Allowed values: accuracy pairwise regression human-review benchmark custom
agentRef
object
agentId
required
string
version
string
/^\d+\.\d+\.\d+$/
flowRef
object
flowId
required
string
version
string
/^\d+\.\d+\.\d+$/
status
required
string
Allowed values: pending running completed failed cancelled
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
nextCursor
string
hasMore
required
boolean
Example
{
"data": [
{
"kind": "accuracy",
"status": "pending"
}
]
}

Malformed query parameter (unknown status).

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"
}
}

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"
}
}