Get Test Runs
tm_get_test_runsPass run_id to get one test run's detail plus its result summary (instance counts by status — passed / failed / skipped / not started / in progress — and pass rate). Otherwise pass project_id to list runs with optional filters. Every returned run carries run_type ("kaneai" or "manual") identifying KaneAI runs — the backend stores KaneAI runs with type "Manual" (result-entry mode), so use run_type, not type, to tell them apart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based) | |
| limit | No | Max results per page | |
| run_id | No | Test run ID (ULID). When given, returns detail + result summary. | |
| search | No | Search runs by title | |
| status | No | Filter: Not Started, In Progress, Passed, Failed, Skipped | |
| run_type | No | Filter: "kaneai" (KaneAI runs), "manual" (human result-entry runs, KaneAI excluded), or "automation" (framework-uploaded runs). Buckets are disjoint. | |
| folder_id | No | Only runs in this folder | |
| project_id | No | Project ID (ULID). Required when run_id is not given. |