Skip to main content
POST
https://agent.usedari.com
/
task
/
{org_id}
/
{endpoint_name}
/
stop
curl -X POST "https://agent.usedari.com/task/my-org/contact_form/stop?job_id=550e8400-e29b-41d4-a716-446655440000" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "success": true,
  "message": "Job stopped successfully",
  "job_id": "550e8400-e29b-41d4-a716-446655440000",
  "previous_status": "running"
}
Stops a running or paused job. This terminates the agent and cleans up browser and sandbox sessions.

Path Parameters

org_id
string
required
Organization ID
endpoint_name
string
required
Portal endpoint name

Query Parameters

job_id
string
required
UUID of the job to stop

Headers

X-API-Key
string
required
Organization API key

Response Fields

success
boolean
Whether the stop was successful
message
string
Status message
job_id
string
UUID of the stopped job
previous_status
string
Job status before stopping
curl -X POST "https://agent.usedari.com/task/my-org/contact_form/stop?job_id=550e8400-e29b-41d4-a716-446655440000" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "success": true,
  "message": "Job stopped successfully",
  "job_id": "550e8400-e29b-41d4-a716-446655440000",
  "previous_status": "running"
}