Skip to main content
Test RunsGet Test Run Instances by Test Run ID
TestMu AI
StatusCommunityBlog
Test Runs

Get Test Run Instances by Test Run ID

Retrieves test run instances with details and supports filtering

GET
/api/v1/test-run/instances/{test_run_id}
Get Test Run Instances by Test Run ID
curl --request GET \
--url "https://test-manager-api.lambdatest.com//api/v1/test-run/instances/{test_run_id}" \
--header "Authorization: Basic <encoded-value>"
{
"test_run_details": {
"id": "<string>",
"title": "<string>",
"project_id": "<string>",
"objective": "<string>",
"is_auteur_generated": true,
"tags": [
"<string>"
],
"status": "<string>",
"type": "<string>",
"build_state": "<string>",
"created_at": "2018-03-15T12:00:00Z",
"updated_at": "2018-03-15T12:00:00Z",
"created_by": 123,
"updated_by": 123,
"run_result": {
"total_test": 123,
"passed": 123,
"failed": 123,
"skipped": 123,
"not_started": 123
},
"is_build_disabled": true,
"total_test_cases": 123,
"total_environments": 123,
"total_run_instances": 123,
"complete_percent": 123
},
"test_run_instances": {
"data": [
{
"id": 123,
"test_case_id": "<string>",
"title": "<string>",
"description": "<string>",
"priority": "Lowest",
"type": "<string>",
"internal_id": "<string>",
"order_no": 123,
"status": "Passed",
"assignee": 123,
"automation_status": "Automated",
"remarks": "<string>",
"environment": {
"id": 123,
"name": "<string>",
"brand": "<string>",
"os_name": "<string>",
"os": "<string>",
"os_version": "<string>",
"device": "<string>",
"platform": "<string>",
"browser": "<string>",
"browser_version": "<string>",
"resolution": "<string>",
"is_complete": true,
"order_no": 123,
"assignee": 123
},
"is_build_disabled": true,
"dataset_details": {},
"auteur_test_id": "<string>",
"is_auteur_generated": true,
"linked_test_url": "<string>",
"source": "<string>"
}
],
"columnMetadata": {},
"filterMetadata": {},
"pagination": {
"current_page": 123,
"last_page": 123,
"per_page": 123,
"total": 123
}
}
}

Authorizations

Authorizationstringheaderrequired

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

Path Parameters

test_run_idstringrequired

Query Parameters

pageinteger
per_pageinteger
filter[status]string
filter[assignee]integer

Response

application/json

Successfully retrieved test run instances

test_run_detailsobject
test_run_details.idstring
Example: "<string>"
test_run_details.titlestring
Example: "<string>"
test_run_details.project_idstring
Example: "<string>"
test_run_details.objectivestring
Example: "<string>"
test_run_details.is_auteur_generatedboolean
Example: true
test_run_details.tagsstring[]
Example:
["<string>"]
test_run_details.statusstring
Example: "<string>"
test_run_details.typestring
Example: "<string>"
test_run_details.build_statestring
Example: "<string>"
test_run_details.created_atstring
Example: "2018-03-15T12:00:00Z"
test_run_details.updated_atstring
Example: "2018-03-15T12:00:00Z"
test_run_details.created_bynumber
test_run_details.updated_bynumber
test_run_details.run_resultobject
test_run_details.is_build_disabledboolean
Example: true
test_run_details.total_test_casesnumber
test_run_details.total_environmentsnumber
test_run_details.total_run_instancesnumber
test_run_details.complete_percentnumber
test_run_instancesobject
test_run_instances.dataobject[]
test_run_instances.columnMetadataobject
test_run_instances.filterMetadataobject
test_run_instances.paginationobject
Get Test Run Instances by Test Run ID
curl --request GET \
--url "https://test-manager-api.lambdatest.com//api/v1/test-run/instances/{test_run_id}" \
--header "Authorization: Basic <encoded-value>"
{
"test_run_details": {
"id": "<string>",
"title": "<string>",
"project_id": "<string>",
"objective": "<string>",
"is_auteur_generated": true,
"tags": [
"<string>"
],
"status": "<string>",
"type": "<string>",
"build_state": "<string>",
"created_at": "2018-03-15T12:00:00Z",
"updated_at": "2018-03-15T12:00:00Z",
"created_by": 123,
"updated_by": 123,
"run_result": {
"total_test": 123,
"passed": 123,
"failed": 123,
"skipped": 123,
"not_started": 123
},
"is_build_disabled": true,
"total_test_cases": 123,
"total_environments": 123,
"total_run_instances": 123,
"complete_percent": 123
},
"test_run_instances": {
"data": [
{
"id": 123,
"test_case_id": "<string>",
"title": "<string>",
"description": "<string>",
"priority": "Lowest",
"type": "<string>",
"internal_id": "<string>",
"order_no": 123,
"status": "Passed",
"assignee": 123,
"automation_status": "Automated",
"remarks": "<string>",
"environment": {
"id": 123,
"name": "<string>",
"brand": "<string>",
"os_name": "<string>",
"os": "<string>",
"os_version": "<string>",
"device": "<string>",
"platform": "<string>",
"browser": "<string>",
"browser_version": "<string>",
"resolution": "<string>",
"is_complete": true,
"order_no": 123,
"assignee": 123
},
"is_build_disabled": true,
"dataset_details": {},
"auteur_test_id": "<string>",
"is_auteur_generated": true,
"linked_test_url": "<string>",
"source": "<string>"
}
],
"columnMetadata": {},
"filterMetadata": {},
"pagination": {
"current_page": 123,
"last_page": 123,
"per_page": 123,
"total": 123
}
}
}