Skip to main content
GET
Get failure context

Authorizations

Authorization
string
header
required

Project PAT (tdp_) token with public-api scope

Path Parameters

projectId
string
required

The project identifier (e.g. project_abc123). Must match the project associated with your PAT.

Query Parameters

runId
string

TestRun ID (e.g. test_run_abc123). Selects run level when sent alone. Optional when suiteId or caseId is present.

suiteId
string

TestSuite ID (e.g. test_suite_abc123). Selects suite level. Sufficient on its own — runId is resolved server-side.

caseId
string

TestCase ID (e.g. test_case_abc123). Selects test level. Sufficient on its own — suiteId and runId are resolved server-side.

attempt
integer

Zero-indexed attempt number. Test level only. Defaults to the latest attempt; returns INVALID_ATTEMPT if out of range.

Required range: x >= 0
format
enum<string>
default:json

Response format. json (default) returns the standard envelope. md returns a plain text/markdown body — useful for LLM prompts.

Available options:
json,
md
detail
enum<string>
default:default

Payload density. summary drops steps[]. compact also drops stdout/stderr and caps each assets.* array at 5 entries (a totals object is included).

Available options:
default,
compact,
summary
page
integer
default:1

1-indexed page number. Applies to run and suite levels only.

Required range: x >= 1
limit
integer
default:10

Items per page (1–50, default 10). Applies to run and suite levels only.

Required range: 1 <= x <= 50
maxLength
integer

Truncate the markdown output to N characters (1–50000). Only meaningful with format=md.

Required range: 1 <= x <= 50000

Response

Failure context at the resolved level

success
boolean
data
object

Returned when only runId is supplied.