Skip to main content
GET
Get detailed diagnostics for a run

Authorizations

Authorization
string
header
required

API Key authorization header. Example: "Authorization: ApiKey {your-api-key}"

Authorization
string
header
required

OAuth 2.0 Bearer token. Example: "Authorization: Bearer {access-token}"

Path Parameters

agentId
integer<int32>
required

The ID of the agent

runId
integer<int64>
required

The ID of the run

Response

Returns the run diagnostics

Response model for run diagnostics (why a run failed)

runId
integer<int64>
agentId
integer<int32>
agentName
string | null
status
enum<integer>

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

Available options:
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12
errorMessage
string | null
startTime
string<date-time> | null
endTime
string<date-time> | null
runtimeSeconds
integer<int32> | null
stats
object

Run statistics

possibleCauses
string[] | null

Possible failure reasons based on status and error message

suggestedActions
string[] | null

Suggested actions to resolve the issue