Docsbook agent activity
/api/v1/docsbook_agent_activityWATCH THE DOCSBOOK AGENT WORK — the ordered timeline of what a job has actually done, step by step, while it is still running. Every line is one action: a page read, a page written, a translation pass, a file it edited, a site it fetched, a report it posted — with the time, how long it took, and whether it worked. docsbook_agent_status says what state a job is in; this says what it has been DOING, so a caller asked 'what is it doing right now' has real lines to read back rather than a plausible story. Poll it: pass after with the next_after from the previous answer and you get only what happened since, which is what a live view is made of. It reports actions, never method: the playbooks and the reasoning behind them are part of the service, so a step that consulted them says exactly that and no more.
Price — $0.00003 per call (twice what serving it costs us), charged to the workspace balance, the same as over MCP.
Also reachable without a token on this workspace's public MCP endpoint.
Also reachable by name at POST /api/v1/tools/docsbook_agent_activity.
Authorization: Bearer dbk_YOUR_API_KEY.Sent from your browser straight to the API — never to Docsbook, never stored.next_after of your last call. Omit to start at the beginning.200 with ok: false: the call was made and billed, and that refusal is its answer.- USE THIS INSTEAD OF GUESSING.
ok to see whether it succeeded.curl -X POST 'https://docsbook.io/api/v1/docsbook_agent_activity' \
-H 'Authorization: Bearer dbk_YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{}'{
"ok": true,
"result": "<result>",
"duration_ms": 0
}