Cancel test execution

Cancels a test execution.

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.

Request body

(empty) object Optional

No body required. Send {}.

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