The Execution API lets you kick off a Playwright test run for any saved project, poll the status of an in-flight execution, and retrieve a list of all past executions. Under the hood, QA Flow compiles the project’s node graph into a Playwright test suite, runs it in a headless browser, and persists the results 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 with associated TestResult entries for each node.
Real-time progress during execution is streamed over WebSocket. The REST status endpoint is suitable for polling, but for live progress updates in a UI connect to the WebSocket server at
ws://localhost:3001.POST /api/run
Trigger a new test execution for the specified project. QA Flow resolves the project’s node graph, generates a Playwright test suite, and executes it asynchronously. The response returns anexecutionId that you can use to poll for status.
Authentication required: No
Request Body
The UUID of the project to execute. The project must exist and be accessible to the authenticated user.
Response
A unique identifier for this execution run. Use it with
GET /api/status/:executionId to poll for results.GET /api/status/:executionId
Retrieve the current status and results of an execution. While the run is in progress theresults array is populated incrementally as each node finishes. When the run completes (or fails), the full result set is available.
Authentication required: No
Path Parameters
The execution identifier returned by
POST /api/run.Response
Current state of the execution. One of:
pending, running, completed, failed.Array of per-node result objects accumulated so far.
Top-level error message present only when
status is failed and the entire run could not complete.GET /api/executions
List all past executions recorded in the system. Returns a summary array ordered by most recent first, allowing you to review historical run data without fetching the full result set for each one. Authentication required: NoResponse
An array of execution summary objects.The execution identifier.
The UUID of the project that was executed.
Final status of the execution:
pending, running, completed, or failed.ISO 8601 timestamp when the execution started, or
null if it never began.ISO 8601 timestamp when the execution finished, or
null if still running.Total number of nodes executed.
Number of nodes that passed.
Number of nodes that failed.
Total execution duration in milliseconds, or
null if not yet complete.