Start a DAG-failure diagnosis run
Start a DAG-failure diagnosis run
Starts an asynchronous AI-powered diagnosis run for a failed DAG run (or specific task within it) and returns a run ID. Use the run ID to poll status and stream events.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
organizationId
The ID of the Organization to which the Deployment belongs.
deploymentId
The Deployment's ID.
Query parameters
force
Skip DB session dedup + Redis cache and force a fresh diagnosis run
Request
The request body for starting a DAG-failure diagnosis run.
dagId
The ID of the DAG that failed.
runId
The ID of the DAG run that failed.
skipCacheRead
If true, bypass any previously cached diagnosis for this DAG/run/task and force a fresh run.
taskId
The ID of the task that failed. Optional; if omitted, the agent diagnoses the run as a whole.
tryNumbers
The specific task try numbers to diagnose. Optional.
Response
OK
createdAt
The RFC3339 timestamp when the run was created.
runId
The unique identifier of the diagnosis run. Use this to poll status and stream events.
status
The current status of the diagnosis run.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error