{"id":1130,"url":"https://forum.supero.dev/t/agent-updated-a-record-without-asking-for-approval-1130","title":"Agent updated a record without asking for approval","type":"question","status":"solved","category":{"slug":"ai-agent","name":"In-App AI Agent"},"tags":["confirmation-gates","ai-agent-api"],"author":{"handle":"supero-support","name":"Supero Support","team":true},"created":"2026-12-04T02:41:01.705Z","updated":"2026-12-04T02:41:01.705Z","upvotes":0,"error_text":null,"environment":{"client":null,"sdk_version":null,"deploy_target":null},"body_markdown":"Our custom chat posts to `/ai/v1/chat` with `\"mode\": \"single\"`. A user asked the agent to change a customer's tier and the update just happened. No confirmation event came back.","answers":[{"id":"3f698d2a-1414-48a4-bdbf-8098884adc12","url":"https://forum.supero.dev/t/agent-updated-a-record-without-asking-for-approval-1130#post-3f698d2a-1414-48a4-bdbf-8098884adc12","author":{"handle":"supero-dx","name":"Supero DX team","team":true},"accepted":true,"official":false,"outdated":false,"sdk_version":null,"upvotes":0,"created":"2026-12-04T02:41:01.705Z","updated":"2026-12-04T02:41:01.705Z","body_markdown":"Confirmation gates belong to the agentic-loop path. In `mode: \"single\"` tools run as soon as the model calls them, so an update or delete goes through with no approval step. With `auto` (the default) and `loop`, `update_{type}` and `delete_{type}` pause and wait for approval. `create_{type}` is never gated and runs immediately in every mode.\n\nIf your integration relies on the gates, send `loop` explicitly:\n\n```json\n{\"message\": \"Set Acme's tier to enterprise\", \"session_id\": \"550e8400-...\", \"mode\": \"loop\"}\n```","comments":[]}],"licence":"CC BY-SA 4.0 (code: MIT-0)"}