---
title: "POST /ai/conversations/{public_id}/permissions/{permission_id}/resolve"
method: POST
path: "/ai/conversations/{public_id}/permissions/{permission_id}/resolve"
tags: ["AI Chat"]
---

# POST /ai/conversations/{public_id}/permissions/{permission_id}/resolve

`POST /ai/conversations/{public_id}/permissions/{permission_id}/resolve`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/ai/conversations/{public_id}/permissions/{permission_id}/resolve`
- Auth: HTTP bearer

## Path parameters

- `public_id` string, required
- `permission_id` string, required

## Request body

- ResolvePermissionRequest: Body for the `POST .../permissions/{permission_id}/resolve` endpoint.
  - `decision` union, required: The user's decision for a pending permission request. Serialized as a tagged JSON object and sent in the resolve endpoint body. `DenyTool`/`RejectPlan` carry an optional human-readable reason that is forwarded to the CLI's `control_response` (never stored).
    - object: Allow the tool to run as requested (milestone 3).
      - `type` 'allow_tool', required
    - object: Deny the tool, with an optional explanation for the model (milestone 3).
      - `reason` string, nullable
      - `type` 'deny_tool', required
    - object: Answer an `AskUserQuestion` prompt (milestone 4). `answers` is a JSON object mapping the literal question text to the chosen option label or free-text answer, per the confirmed wire protocol.
      - `answers` unknown, required
      - `type` 'answer_question', required
    - object: Approve an `ExitPlanMode` plan (milestone 5).
      - `type` 'approve_plan', required
    - object: Reject an `ExitPlanMode` plan with optional feedback (milestone 5).
      - `feedback` string, nullable
      - `type` 'reject_plan', required

## Response `204`

## Other responses

- `400`
- `401`
- `403`
- `404`
- `409`
- `410`

## Changes

- **2026-09-07** `7a3103561bd0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/ai/conversations/:public_id/permissions/:permission_id/resolve/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
