Answer a permission request
flow_agent_answer_approvalAnswer the agent's permission request (pendingApproval of flow_agent_chat / flow_agent_get_chat: what it wants to generate and its cost in Flow credits). approve: generate it (charged at Flow's normal price); always: approve and stop asking in this chat's project from now on (its approval mode becomes auto); reject: do not generate. The answer is the chat's next turn: unless wait is false, it then follows the agent up to ~50 s like flow_agent_chat. POST /agent/chats/{chatId}/approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Follow the agent after answering, up to ~50 s (default true). | |
| chatId | Yes | The chatId the request belongs to. | |
| decision | Yes | approve, always or reject. |