Skip to main content
POST
/
api
/
v1
/
agent
/
{agentId}
/
run
/
{runId}
/
kill
Kill a running agent
curl --request POST \
  --url https://api.example.com/api/v1/agent/{agentId}/run/{runId}/kill \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 123,
  "statusDescription": "<string>",
  "message": "<string>",
  "errorCode": "<string>"
}

Authorizations

Authorization
string
header
required

API Key authorization header. Example: "Authorization: ApiKey {your-api-key}"

Authorization
string
header
required

OAuth 2.0 Bearer token. Example: "Authorization: Bearer {access-token}"

Path Parameters

agentId
integer<int32>
required

The ID of the agent that contains the run

runId
integer<int64>
required

The ID of the run to kill

Response

The kill command was successfully sent