Get failure context
Bundled failure-focused snapshot at one of three granularity levels — picked by the deepest ID present in your query:
| Parameter sent | data.level | Returns |
|---|---|---|
runId (only) | run | Failing suites in the run + deduplicated cross-suite failing tests |
suiteId (with or without runId) | suite | Failing/flaky tests within that TestSuite |
caseId (with or without suiteId/runId) | test | Full debug payload for a single test attempt (error, steps, attachments) |
Designed for AI agents and debugging tools: one URL, one auth check, three discriminator-tagged shapes. Start from a failing run, drill into a failing suite, or jump directly to a specific test — without round-tripping across /test-runs, /test-cases, and the artifact endpoints.
Markdown for LLMs. Append ?format=md to get a text/markdown body (not the JSON envelope) — heading-per-section rendering of Error / Failure context / Other attempts / Steps / Trace / Assets / Environment. Pair with maxLength to cap the payload for token-bounded LLM input.
Signed asset URLs. traceLink.url and assets.*.url are SAS-authenticated Azure Blob URLs that expire 1 hour after the response is generated. Re-fetch this endpoint to get fresh URLs — do not cache them.
What is NOT included. TestDino does not expose Playwright trace internals (console + network breakdown, accessibility snapshot) through this endpoint. The trace zip is surfaced as traceLink so you can open it in the Playwright trace viewer.
Authorizations
Project PAT (tdp_) token with public-api scope
Path Parameters
The project identifier (e.g. project_abc123). Must match the project associated with your PAT.
Query Parameters
TestRun ID (e.g. test_run_abc123). Selects run level when sent alone. Optional when suiteId or caseId is present.
TestSuite ID (e.g. test_suite_abc123). Selects suite level. Sufficient on its own — runId is resolved server-side.
TestCase ID (e.g. test_case_abc123). Selects test level. Sufficient on its own — suiteId and runId are resolved server-side.
Zero-indexed attempt number. Test level only. Defaults to the latest attempt; returns INVALID_ATTEMPT if out of range.
x >= 0Response format. json (default) returns the standard envelope. md returns a plain text/markdown body — useful for LLM prompts.
json, md Payload density. summary drops steps[]. compact also drops stdout/stderr and caps each assets.* array at 5 entries (a totals object is included).
default, compact, summary 1-indexed page number. Applies to run and suite levels only.
x >= 1Items per page (1–50, default 10). Applies to run and suite levels only.
1 <= x <= 50Truncate the markdown output to N characters (1–50000). Only meaningful with format=md.
1 <= x <= 50000