Skip to content
OperadeDocs

Search documentation

Type to search documentation.

Documentation
Copy page
Open raw Markdown

List test invocation runs

Page through runs for one invocation, optionally returning only runs updated after a timestamp; transcripts and frozen definitions are excluded.

Endpoint

GET/api/v1/workspaces/{workspace_id}/test-invocations/{invocation_id}/runs

Authentication

Operation classAuthenticationMinimum roleAPI key
customer-apiBearer API key or dashboard session cookie; dashboard mutations also require X-CX-Request: 1.memberAllowed

Parameters

NameInTypeRequiredDescription
workspace_idpathstringYes—
invocation_idpathstringYes—
cursorquerystring or nullNo—
page_sizequeryintegerNo—
updated_afterquerystring or nullNo—

Request body

This operation has no request body.

Example

cURL
curl --request GET 'https://operade.ai/api/v1/workspaces/ws_demo/test-invocations/invo_demo/runs?page_size=100' \
  --header 'Authorization: Bearer YOUR_API_KEY'

Responses

StatusDescriptionContent
4XXHandled client errorapplication/json: ErrorResponse
200Successful Responseapplication/json: RunListResponse

4XX application/json response schema

Field pathTypeReferenceFormatNullableRequiredEnumDescription
$objectErrorResponse—NoYes——
errorobjectErrorItem—NoYes——
error.codestring——NoYes——
error.detailsobject——NoNo——
error.messagestring——NoYes——

200 application/json response schema

Field pathTypeReferenceFormatNullableRequiredEnumDescription
$objectRunListResponse—NoYes——
has_moreboolean——NoYes——
itemsarray<RunSummary>——NoYes——
items[]objectRunSummary—NoYes——
items[].allows_real_toolsboolean——NoYes——
items[].completed_atstring or null—date-timeYesYes——
items[].cost_usdnumber——NoYes——
items[].idstring——NoYes——
items[].input_tokensinteger——NoYes——
items[].invocation_item_idstring——NoYes——
items[].output_tokensinteger——NoYes——
items[].repeat_indexinteger——NoYes——
items[].resultobjectSimulationRunResult or NextReplyRunResult or ToolInvocationRunResult or RunFailureResult or PendingRunResult—NoYes——
items[].result.conversation_idstring or null——YesNo——
items[].result.evaluationsarray<TestEvaluation>——NoYes——
items[].result.evaluations[]objectTestEvaluation—NoYes——
items[].result.evaluations[].rationalestring——NoYes——
items[].result.evaluations[].statusstring——NoYes"success", "failure"—
items[].result.failure_codestring or null——YesNo"evaluator_error", "mock_not_matched", "quota_exceeded", "runtime_error", "tool_unavailable"—
items[].result.evaluationobject or nullTestEvaluation—YesNo——
items[].result.evaluation.rationalestring——NoYes——
items[].result.evaluation.statusstring——NoYes"success", "failure"—
items[].result.responsestring——NoYes——
items[].result.callsarray<ToolCallEvidence>——NoYes——
items[].result.calls[]objectToolCallEvidence—NoYes——
items[].result.calls[].argumentsobject or null——YesYes——
items[].result.calls[].arguments_rawstring or null——YesNo——
items[].result.calls[].namestring——NoYes——
items[].result.calls[].originstring——NoYes"llm", "workflow", "built_in", "transition"—
items[].result.calls[].tool_idstring——NoYes——
items[].result.calls[].tool_typestring——NoYes"system", "webhook", "google_sheets", "client", "workflow", "api_integration_webhook", "mcp", "code", "workflow_transition"—
items[].result.parameter_resultsarray<ParameterEvaluation> or null——YesNo——
items[].result.parameter_results[]objectParameterEvaluation—NoYes——
items[].result.parameter_results[].errorstring or null——YesNo——
items[].result.parameter_results[].matchedboolean——NoYes——
items[].result.parameter_results[].reasonstring——NoYes——
items[].result.passedboolean or null——YesNo——
items[].started_atstring or null—date-timeYesYes——
items[].statusstring——NoYes"pending", "running", "passed", "failed", "interrupted"—
items[].updated_atstring—date-timeNoYes——
next_cursorstring or null——YesYes——

Response example

Response body JSON
{
  "items": [],
  "has_more": false,
  "next_cursor": "string"
}

Errors

Reviewed common and route-declared errors are summarized here; the list is not exhaustive. Start with the distributed error index to find each code's canonical domain page.

StatusCodeDescription
401unauthenticatedAuthentication is missing, invalid, or revoked.
403forbiddenThe authenticated caller does not have access to this operation.
404not_foundThe requested workspace resource was not found.
422validation_failedThe request did not pass field or business validation.
On this page
  1. Endpoint
  2. Authentication
  3. Parameters
  4. Request body
  5. Example
  6. Responses
  7. 4XX application/json response schema
  8. 200 application/json response schema
  9. Response example
  10. Errors
  11. Related operations