Overview

Docsbook agent stop

POST/api/v1/docsbook_agent_stop

Stop a Docsbook agent job. Work already committed stays — stopping is not an undo, and what landed is ordinary git history you can revert — and the agent's credential for that job is revoked immediately.

Price — $0.00003 per call (twice what serving it costs us), charged to the workspace balance, the same as over MCP.

Also reachable by name at POST /api/v1/tools/docsbook_agent_stop.

Authorization
Authorizationstringrequired

Your API key, sent as Authorization: Bearer dbk_YOUR_API_KEY.Sent as the Authorization header. Your key is used only by your browser for this request — it is never sent to Docsbook or stored.

Body
task_idstring

The job to stop.

reasonstring

Why, for the record.

Request
curl -X POST 'https://docsbook.io/api/v1/docsbook_agent_stop' \
  -H 'Authorization: Bearer dbk_YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{}'

Responses#

Status Meaning
200 The tool ran. Read ok to see whether it succeeded.
401 Missing or invalid API key.

Updated

Was this page helpful?