Documentation Index
Fetch the complete documentation index at: https://docs.crewship.dev/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Run ID (e.g., run_xyz789abc)
Response
Whether the cancellation was successful
The updated run status (canceled)
curl -X POST https://api.crewship.dev/v1/runs/run_xyz789abc/cancel \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"status": "canceled"
}
Notes
- Only runs with status
pending or running can be canceled
- Canceling a run stops execution and destroys the underlying machine
- The run status will be set to
canceled with a completed_at timestamp