Authorization header. Every successful response includes an X-Credits-Remaining header so you can track credit usage in real time.
Base URL
Request Shape
Every endpoint in the API usesPOST and follows the same envelope: a JSON body with an action field that selects the operation, and (for most actions) a data object with parameters. This keeps a single URL per resource while exposing multiple operations.
Resources
The API is organized around five resources, grouped into Tests and Admin:Credits
Actions that trigger work (running a health check, running a visual test, replaying a flow, scheduling any of the above) consume credits. Every successful response returns:402 Payment Required.
Error Handling
When a request fails, the API returns a consistent JSON error object withsuccess: false and machine-readable fields:
Next Steps
Authentication
Generate an API key and authenticate your requests.
Flow
List, run, and schedule recorded flows via the API.