Skip to main content

Run a sandbox test

POST /api/test
Executes an artifact’s code in an isolated E2B sandbox. Use this to verify your code works before deploying. Body:
Response (completed within wait):
Response (still running):

Poll test run status

GET /api/test-runs/:id
Poll until status is success, error, or timeout.
Terminal statuses: