Skip to main content
POST
/
agentspec
/
executions
/
{id}
/
cancel
Cancel Agent Spec execution
curl --request POST \
  --url http://localhost:5173/api/flowdrop/agentspec/executions/{id}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Execution cancelled successfully"
}

Authorizations

Authorization
string
header
required

JWT token for authentication

Path Parameters

id
string
required

Execution ID from the runtime

Response

Execution cancelled successfully

success
boolean
Example:

true

message
string
Example:

"Execution cancelled successfully"