Get a test's failure report (pending until it is written; a passed or still-running test has none: 404 not_found)
Operation ID: getTestReport
The failure report of a test that failed or errored: a structured report and the same as Markdown. While it is being written status is pending; poll again shortly. A passed test, or one still running, has no report: 404 not_found.
Needs an API key with the read scope.
apiKeyAuthorizationBearer <oq_ followed by 43 letters and digits>An Outqube API key, made in the app's settings. It belongs to one app and has the scope read, trigger or manage; a higher scope includes the lower ones. A revoked or expired key is a 401.
runId*stringThe run's id.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidtestRunId*stringThe test_run_id of one of the run's tests.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidOK
application/json- response
A failed or errored test's failure report, written once when the test ends.
status*stringThe report is written.
report*The structured report: what failed, evidence and reproduction steps.
markdown*stringThe same report as Markdown, at most about 2,000 tokens.
curl -X GET 'https://app.outqube.com/api/v1/runs/3f8a6c1e-5b2d-4e7a-8c19-0d4b7e2a9f61/tests/c2e5a7b9-1d3f-4a68-b0c4-8e9d2f1a3b57/report'{ "status": "ready", "report": { "title": "Sign-in fails with a valid account", "summary": "After selecting Sign in the page stays on the form and shows an error." }, "markdown": "## Sign-in fails with a valid account\n\nAfter selecting **Sign in** the page stays on the form and shows \"Something went wrong\"."}