agent

Approve Agent Tool Call

Resume a paused write/paid tool call (Phase 3, approval.required event).

Only the thread's own user may decide (mirrors resolve_caller_context() tenant-binding, no cross-user approval) — reuses the same run lock as stream_agent_message so a double-click can't double-resume, and streams the rest of the run back through the identical SSE contract.

post/agent/threads/{thread_id}/approve

Request

  • Base URL
    https://api.threadchain.pro (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: auth/token

Path parameters

thread_idstring required

Request body

approval_idstring required
approvedboolean required
edited_argsobject nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.