curl --request POST \ --url https://cloud.firebender.com/v0/agents/{id}/stop \ --header 'X-API-Key: <api-key>'
Copy
Ask AI
{ "id": "fb_abc123xyz789"}
API Reference
Stop an agent
Stop a cloud agent in CREATING, SETUP, or RUNNING state. The agent’s status is set to FINISHED and the sandbox is destroyed asynchronously. You can still send a followup to a stopped agent — this creates a new continuation agent on the same branch.
POST
/
v0
/
agents
/
{id}
/
stop
Stop an agent
Copy
Ask AI
curl --request POST \ --url https://cloud.firebender.com/v0/agents/{id}/stop \ --header 'X-API-Key: <api-key>'