dogabot dogabot Documentation

Confirm Ask AI tool call

post https://api.dogabot.com/api/v1/ai/chat/conversations/{id}/tools/{call_id}/confirm

Approves or rejects a pending Ask AI write tool. Requires write:ask_ai on the key (Pro soft-allow). Nested tool confirms still run as the key owner. Send Idempotency-Key on mutating calls.

Scopes write:ask_ai write

Path parameters

id integer required
Example 42
call_id string required
Example call_1

Headers

Idempotency-Key string required

Unique key per mutation so retries stay safe.

Example retry-1

Body parameters

application/json required

JSON Example body
{
  "approve": true
}

Responses

200 OK
401 Unauthorized
403 Forbidden — missing scope or feature gate
404 Not found
429 Rate limited