get_run_details
Analyze test execution health and debug failures by fetching run statistics, suite/case details, and error info. Supports batch queries and optional AI insights.
Instructions
Get detailed information about test runs. Shows test statistics (passed, failed, skipped, flaky), all test suites and cases, git metadata, and error details. Supports batch operations (comma-separated IDs, max 20). Use this to analyze test execution health or debug specific failures. Set include_ai_insights=true (single testrun_id only) to also get the run's AI Insights under ai_insights: AI failure categorization (flaky/bug/ui_change), failure clusters, new-failures cards, the error-analysis table, and the LLM-written run summary. AI payloads are generated lazily — if ai_insights sections report status "processing"/"not_generated", poll get_ai_insights(testrun_id=...) until "completed" instead of re-calling this tool. An "unavailable" section carries the upstream statusCode: a 5xx or timeout is transient (retry once via get_ai_insights), a 4xx (bad ids) is terminal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counter | No | Run counter. A number for a single run (e.g. 47), or a comma-separated string ('47,48,49', max 20) for a batch. | |
| projectId | Yes | Project ID (Required). The TestDino project identifier. | |
| testrun_id | No | Test run ID(s). Single ID or comma-separated for batch (max 20). Example: 'test_run_123' or 'run1,run2,run3'. | |
| include_ai_insights | No | Attach the run's AI Insights (failure categorization, clusters, error-analysis table, LLM summary) under `ai_insights`. Requires a single testrun_id (not counter, not a batch). If a section reports `processing`, poll get_ai_insights(testrun_id=...) instead of re-calling this tool. |