Root Cause Analysis›
Root Cause Analysis
Get AI-powered Root Cause Analysis for test failures.
This endpoint retrieves the AI-powered Root Cause Analysis (RCA) for the specified test, job, task, or stage IDs. The RCA returned by this API matches the same test-level AI RCA displayed on the UI dashboard. At least one of test_ids, job_ids, task_ids, or stage_ids must be provided.
GET
/rca
Authorizations
Authorizationstringheaderrequired
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Query Parameters
test_idsstring
Comma-separated list of test IDs to fetch RCA for.
job_idsstring
Comma-separated list of job IDs to fetch RCA for.
task_idsstring
Comma-separated list of task IDs to fetch RCA for.
stage_idsstring
Comma-separated list of stage IDs to fetch RCA for.
pageinteger
Page number for paginated results. Default is 1.
limitinteger
Maximum number of records to return per page. Default is 10.
Response
application/jsonSuccessful operation
statusstring
dataobject[]
paginationobject