The Test Runs API provides persistent, queryable access to every execution that QA Flow has performed. Each test run is stored as aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/davidG97/qa-flow/llms.txt
Use this file to discover all available pages before exploring further.
TestRun record in the database, with a nested array of TestResult objects — one for every node that was executed. You can list recent runs globally, fetch all runs for a specific project, drill into a single run’s full results, or retrieve the generated HTML report for any completed run.
TestRun Object
UUID of the test run.
UUID of the project this run belongs to.
Lifecycle status of the run. One of:
pending, running, completed, failed.ISO 8601 timestamp when execution began, or
null if still pending.ISO 8601 timestamp when execution finished, or
null if still running.Top-level error message if the entire run failed;
null otherwise.Total number of nodes executed in the run.
Number of nodes that passed.
Number of nodes that failed.
Total execution time in milliseconds, or
null if not yet complete.ISO 8601 timestamp when the
TestRun record was created in the database.Array of per-node result records. Populated when fetching an individual run via
GET /api/test-runs/:id.GET /api/test-runs
List the most recent test runs across all projects. Results are ordered by creation date descending. Use thelimit query parameter to control the number of records returned.
Authentication required: No
Query Parameters
Maximum number of test runs to return. Defaults to
20.Response
An array of TestRun objects (without the nestedresults array for performance — use GET /api/test-runs/:id to fetch results).
GET /api/test-runs/:id
Retrieve a single test run with its complete array ofTestResult records. Use this endpoint to display a full execution report with per-node pass/fail details.
Authentication required: No
Path Parameters
The UUID of the test run to retrieve.
Response
A TestRun object with a populatedresults array. Returns 404 Not Found if the run does not exist.
GET /api/test-runs/project/:projectId
Retrieve the most recent test runs for a specific project, ordered by creation date descending. Useful for displaying a project’s run history in the UI. Authentication required: NoPath Parameters
The UUID of the project whose run history to retrieve.
Query Parameters
Maximum number of test runs to return. Defaults to
10.Response
An array of TestRun objects (without nested results).GET /api/test-runs/:id/report
Retrieve the HTML report generated for a completed test run. The response format is determined by content negotiation using theAccept header.
Authentication required: No
Path Parameters
The UUID of the test run whose report to retrieve.
Content Negotiation
- HTML Response
- JSON Response
When the request includes Response:
Accept: text/html, the server responds with the raw HTML report suitable for rendering directly in a browser iframe or a new tab.Content-Type: text/html — full rendered HTML report.