Cancel Test Execution

Cancel an in-progress test execution by UUID. Execution must be in pending, running, or evaluating state. Returns success flag and cancellation confirmation message.

POST https://api.futureagi.com/simulate/test-executions/{test_execution_id}/cancel/

Authentication

X-Api-Key API Key Required

Your Future AGI API key used to authenticate requests. You can find and manage your API keys in the Dashboard under Settings.

X-Secret-Key Secret Key Required

Your Future AGI secret key, used alongside the API key for request authentication. This is generated when you create an API key in the Dashboard.

Path parameters

test_execution_id UUID Required

The test execution ID. Must be in pending, running, or evaluating state.

Response

200 OK
success boolean
Whether the cancellation was accepted.
message string
Confirmation message.
test_execution_id string
UUID of the cancelled test execution.

Errors

400 Bad Request Optional
Execution is already in a terminal state.
401 Unauthorized Optional
Invalid or missing credentials.
404 Not Found Optional
Test execution not found.
500 Internal Server Error Optional
Unexpected server error.
GET /
Authentication
REQUEST
 
RESPONSE