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?”
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)
0 = Invalid; 1 = Running; 2 = Exporting; 3 = Starting; 4 = Queuing; 5 = Stopping; 6 = Failure; 7 = Failed; 8 = Stopped; 9 = Completed; 10 = Success; 11 = Skipped; 12 = Waiting
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