context-agent
Stop Chat Execution
Stop active execution (engine pause between steps, per the SDK pause spec). Session data is preserved — a later message resumes the conversation.
Body: confirm: Must be true (CSRF protection)
Returns: {"status": "stopped"} when the run halted within the grace period, or {"status": "stopping"} when it is still finishing its current step — the event stream's terminal event marks the actual halt.
post/api/context-agent/chats/{chat_id}/stop
Request
- Base URL: https://app.getdot.ai (the document declares no server; this is the origin it was published from)
- URL: https://app.getdot.ai/api/context-agent/chats/{chat_id}/stop
- Auth: one of:
- API key in header X-API-KEY
- API key in cookie Authorization
- OAuth 2 (password, token URL /api/auth/token)
Path parameters
chat_idstring required
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.