get_test_run
Read a Zephyr Scale test run by key, including its items. Test runs are immutable after creation and status is derived from items.
Instructions
Read a Zephyr Scale test run (test cycle) by key, including its items. IMPORTANT API v1 limitation: a test run is IMMUTABLE after creation — there is no PUT /testrun/{key}. A run cannot be renamed, moved to another folder, and test cases cannot be added to or removed from it later; the set of items is fixed ONLY at creation time. The run status is computed automatically from the statuses of its items and cannot be set directly. Use get_test_run_results to page through the execution results of the run.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"testRunKey": "<testRunKey>"
},
"name": "get_test_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Restrict the response to these fields (serialized comma-separated), e.g. ["key", "name", "status"] | |
| testRunKey | Yes | Test run key, e.g. PROJ-R123 |