Stop Agent

DELETE/agents/{agent_id}/stop

VerifiedReliablePublished by Notte
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "notte",
"path": "",
"method": "DELETE",
"query": {
"session_id": ""
}
}'
{
"success": true,
"data": {
"url": null,
"task": "{task}",
"saved": true,
"steps": [ 1 item ],
"answer": "{answer}",
"replay": null,
"status": "{status}",
"success": true,
"agent_id": "{agent_id}",
"closed_at": "{closed_at}",
"created_at": "{created_at}",
"session_id": "{session_id}",
"credit_usage": 1,
"replay_stop_offset": 1,
"replay_start_offset": 1
}
}
Example values, built from the documented fields.

Free

Calls cost nothing.

API-wide: 99.3% success · 1,573 ms median · 30 days

About this endpoint

Stops a browser agent that is still working on its task and ends its run. Takes the agent's ID and the ID of the session it runs in.

Path parameters

Query parameters

Response types

More from Notte

  1. Observe PagePOST/sessions/{session_id}/page/observe$0.005 per callFixed
  2. Scrape WebpagePOST/scrape$0.01 per callFixed
  3. Get Session CookiesGET/sessions/{session_id}/cookiesFree
  4. Start SessionPOST/sessions/startFrom $0.001 per callRequest-based
  5. Start AgentPOST/agents/startFrom $0.013 per callRequest-based
  6. Set Session CookiesPOST/sessions/{session_id}/cookies$0.001 per callFixed
  7. Scrape PagePOST/sessions/{session_id}/page/scrape$0.003 per callFixed
  8. Execute Page ActionPOST/sessions/{session_id}/page/execute$0.002 per callFixed
  9. Get Network LogsGET/sessions/{session_id}/network/logsFree
  10. Get Agent StatusGET/agents/{agent_id}Free
  11. Stop SessionDELETE/sessions/{session_id}/stopFree
  12. Get SessionGET/sessions/{session_id}Free
All 15 Notte endpoints

Similar endpoints

  1. TinyFish · Cancel runPOST/v1/runs/{id}/cancelFree