Skip to main content
POST
/
v1
/
companies
/
{id}
/
agents
/
{agentId}
/
runs
/
{runId}
/
stop
Stop agent run
curl --request POST \
  --url https://api.usenaive.ai/v1/companies/{id}/agents/{agentId}/runs/{runId}/stop \
  --header 'Authorization: Bearer <token>'
{}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Path Parameters

id
string
required
agentId
string
required
runId
string
required

Response

200 - application/json

Stopped.

The response is of type object.