Analytics
Run diagnostics
Returns detailed diagnostic information for a specific run, including error messages, statistics, possible causes of failure, and suggested remediation actions. Useful for answering questions like “Why did my agent fail?”
GET
Get detailed diagnostics for a run
Authorizations
API Key authorization header. Example: "Authorization: ApiKey {your-api-key}"
OAuth 2.0 Bearer token. Example: "Authorization: Bearer {access-token}"
Path Parameters
The ID of the agent
The ID of the run
Response
Returns the run diagnostics
Response model for run diagnostics (why a run failed)
Available options:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 Run statistics
Possible failure reasons based on status and error message
Suggested actions to resolve the issue