Skip to main content
Root Cause AnalysisGet RCA generation progress and completed results for a scope.
TestMu AI
StatusCommunityBlog
Root Cause Analysis

Get RCA generation progress and completed results for a scope.

Returns a progress summary (counts of completed, in-progress, failed and pending tests) plus a paginated list of completed RCA results for all tests under the provided scope. Useful for polling after calling POST /rca/generate. Scope: At least one of job_ids, stage_ids, task_ids, or test_ids must be provided. Each array is capped at 100 IDs. A scope that resolves to more than 10,000 tests is rejected with 413. Detail enrichment: Pass include_detail=true to hydrate each paginated result with the full rca_detail (stack traces, analysis, fix suggestions, error timeline). Omitted by default to keep responses small for polling use-cases.

GET
/rca/status
Get RCA generation progress and completed results for a scope.
curl --request GET \
--url "https://api.lambdatest.com/insights/api/v3/public/rca/status" \
--header "Authorization: Basic <encoded-value>"
{
"status": "success",
"data": {
"progress": {
"total_tests": 25,
"completed": 20,
"in_progress": 3,
"failed": 1,
"pending": 1
},
"results": [
{
"test_id": "RMAA-AND-160849-XXXX",
"stage_id": "stage-xyz-67890",
"task_id": "task-abc-12345",
"job_id": "e3251d99-805a-4b3f-a3f5-c0ea9b1d2e3f",
"rca_category": "Test Data Issue",
"parent_failure_category": "Infrastructure Issue",
"status": "active",
"created_at": "2026-03-05T11:13:32Z"
}
],
"pagination": {
"total": 20,
"limit": 20,
"offset": 0
}
}
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

job_idsarray

HyperExecute job IDs. Serialized as a comma-separated list.

stage_idsarray

HyperExecute stage IDs. Serialized as a comma-separated list.

task_idsarray

HyperExecute task IDs. Serialized as a comma-separated list.

test_idsarray

Test execution IDs. Serialized as a comma-separated list.

include_detailboolean

When true, enriches each completed RCA result in the current page with the full rca_detail payload (stack traces, analysis, fix suggestions, error timeline). Defaults to false.

limitinteger

Number of completed RCA records per page.

offsetinteger

Zero-based offset into the completed results. Defaults to 0.

Response

application/json

Successful operation. Returns progress summary and paginated results.

statusstring
dataobject
data.progressobject
data.resultsobject[]
data.paginationobject
Get RCA generation progress and completed results for a scope.
curl --request GET \
--url "https://api.lambdatest.com/insights/api/v3/public/rca/status" \
--header "Authorization: Basic <encoded-value>"
{
"status": "success",
"data": {
"progress": {
"total_tests": 25,
"completed": 20,
"in_progress": 3,
"failed": 1,
"pending": 1
},
"results": [
{
"test_id": "RMAA-AND-160849-XXXX",
"stage_id": "stage-xyz-67890",
"task_id": "task-abc-12345",
"job_id": "e3251d99-805a-4b3f-a3f5-c0ea9b1d2e3f",
"rca_category": "Test Data Issue",
"parent_failure_category": "Infrastructure Issue",
"status": "active",
"created_at": "2026-03-05T11:13:32Z"
}
],
"pagination": {
"total": 20,
"limit": 20,
"offset": 0
}
}
}