On this page
runs.analysis
Read post-run analysis
Request
GET /api/v1/runs/{run_id}/analysis
- MCP:
runs_analysis - SDK:
client.runs.analysis(SDK path arguments usepath; MCP usesparams). - Minimum API key role: viewer.
- Idempotency: none.
Use the request schema below. Read IDs from earlier operation results.
Input schema
json
{
"parameters": [
{
"name": "run_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
}
}
],
"requestBody": null
}
Responses
json
{
"200": {
"description": "Read post-run analysis",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RunsAnalysisResponse200"
}
}
}
},
"4XX": {
"description": "Typed error (ApiError)",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiError"
}
}
}
},
"5XX": {
"description": "Typed error (ApiError)",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiError"
}
}
}
}
}
Referenced schemas
json
{
"components": {
"schemas": {
"RunsAnalysisResponse200": {
"type": "object",
"properties": {
"run_id": {
"type": "string",
"format": "uuid"
},
"state": {
"type": "string",
"enum": [
"pending",
"running",
"completed",
"failed",
"not_requested"
]
},
"evaluation_id": {
"type": "string",
"format": "uuid",
"nullable": true
},
"disposition": {
"type": "string",
"maxLength": 128,
"nullable": true
},
"successful": {
"type": "boolean",
"nullable": true
},
"fields": {
"type": "object",
"additionalProperties": {}
},
"model": {
"allOf": [
{
"$ref": "#/components/schemas/ModelIdentity"
}
],
"nullable": true
},
"completed_at": {
"allOf": [
{
"type": "string",
"format": "date-time"
}
],
"nullable": true
}
},
"required": [
"run_id",
"state",
"evaluation_id",
"disposition",
"successful",
"fields",
"model",
"completed_at"
],
"additionalProperties": false
},
"ModelIdentity": {
"type": "object",
"properties": {
"model_id": {
"type": "string",
"minLength": 1,
"pattern": "\\S"
},
"provider": {
"type": "string",
"minLength": 1,
"pattern": "\\S"
},
"tier": {
"type": "string",
"enum": [
"frontier",
"cumulus-served",
"customer-gpu"
]
}
},
"required": [
"model_id",
"provider",
"tier"
],
"additionalProperties": false
},
"ApiError": {
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"enum": [
"unauthenticated",
"forbidden",
"not_found",
"conflict",
"invalid_request",
"idempotency_conflict",
"policy_denied",
"capability_unavailable",
"provider_unavailable",
"knowledge_unavailable",
"publication_invalid",
"run_not_active",
"rate_limited",
"outcome_unknown",
"internal"
]
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"outcome": {
"type": "string",
"enum": [
"none",
"unknown"
]
},
"details": {
"type": "object",
"additionalProperties": {}
}
},
"required": [
"code",
"message",
"retryable",
"outcome"
],
"additionalProperties": false
}
},
"required": [
"error"
],
"additionalProperties": false
}
}
}
}
Errors and recovery
See API error handling and Troubleshooting.
Related guides
Content version 1120dc80Markdown source