---
title: "List pending session elicitations"
method: GET
path: "/api/v0/sessions/{sessionId}/elicitations"
tags: ["Sessions"]
---

# List pending session elicitations

`GET /api/v0/sessions/{sessionId}/elicitations`

## Request

- Base URL: `https://api.factory.ai`
- URL: `https://api.factory.ai/api/v0/sessions/{sessionId}/elicitations`
- Auth: HTTP bearer

Returns the permission prompts (including spec approvals) and AskUser questions the session is waiting on. Each item carries the same fields the SDK permissionHandler and askUserHandler receive, plus the requestId to answer it with, and a permission prompt lists only the options the answer endpoint accepts. Items use these SDK shapes, not the MCP elicitation JSON Schema form. Option pickers (pick_options requests) are not covered, and neither are queued AskUser questions (`blocking: false`, which the agent does not wait on); answer those in the Factory desktop app, web app or CLI. This feature is enabled for selected organizations only.

## Path parameters

- `sessionId` string, required: Session ID

## Headers

- `X-Factory-Org-Id` string

## Response `200`

Response for status 200

- ListSessionElicitations200ResponseBody
  - `elicitations` union[], required: Permission prompts and AskUser questions the session is waiting on. Queued AskUser questions, which the agent does not wait on, are not listed.
    - union
      - object
        - `toolUses` object[], required
          - `toolUse` object, required
            - `type` 'tool_use', required
            - `id` string, required
            - `input` object, required
            - `name` string, required
            - `thoughtSignature` string
            - `namespace` string
            - `scriptExecution` object
              - …
            - `scriptOracle` object
              - …
          - `confirmationType` 'edit' | 'exec' | 'create' | 'ask_user' | 'exit_spec_mode' | 'recommend_mission' | 'propose_mission' | 'start_mission_run' | 'apply_patch' | 'mcp_tool' | 'sandbox_violation' | 'droid_shield_violation' | 'script', required
          - `details` union, required
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
            - object
              - …
        - `options` object[], required
          - `label` string, required
          - `value` 'proceed_once' | 'proceed_always' | 'proceed_always_file' | 'proceed_auto_run' | 'proceed_auto_run_low' | 'proceed_auto_run_medium' | 'proceed_auto_run_high' | 'proceed_new_session' | 'proceed_new_session_low' | 'proceed_new_session_medium' | 'proceed_new_session_high' | 'proceed_edit' | 'proceed_always_tools' | 'proceed_always_server' | 'proceed_report_false_positive' | 'cancel', required
        - `associatedSessionIds` string[]
        - `type` 'permission', required
        - `requestId` string, required: ID to answer the prompt with
      - object
        - `toolCallId` string, required
        - `questions` object[], required
          - `index` number, required
          - `topic` string, required
          - `question` string, required
          - `options` string[], required
          - `optionDescriptions` string[]
          - `multiSelect` boolean
          - `context` string
        - `blocking` boolean
        - `type` 'ask-user', required
        - `requestId` string, required: ID to answer the questions with

## Other responses

- `400`: Response for status 400
- `401`: Response for status 401
- `402`: Response for status 402
- `403`: Response for status 403
- `404`: Response for status 404
- `409`: Response for status 409
- `429`: Response for status 429
- `451`: Response for status 451
- `500`: Response for status 500
- `503`: Response for status 503
- `504`: Response for status 504

## Changes

- **2026-12-01** `2e37e1b079d2`: 1 info
  - added the non-success response with the status `409`
- **2026-11-19** `06762b4102b4`: 2 info
  - added the optional property `elicitations/items/anyOf[subschema #1]/toolUses/items/toolUse/scriptExecution/site` to the response with the `200` status
  - added the optional property `elicitations/items/anyOf[subschema #1]/toolUses/items/toolUse/scriptExecution/step` to the response with the `200` status
- **2026-11-17** `54bb6cc588c0`: 1 warning, 1 info
  - removed the optional property `elicitations/items/anyOf[subschema #2]/context` from the response with the `200` status
  - added the optional property `elicitations/items/anyOf[subschema #2]/questions/items/context` to the response with the `200` status
- **2026-11-14** `9fb2e1b1ec61`: 1 info
  - added the optional property `elicitations/items/anyOf[subschema #1]/toolUses/items/toolUse/scriptOracle` to the response with the `200` status
- **2026-11-12** `b6a46c415079`: 4 breaking, 1 warning, 37 info
  - the response's body type changed from `object` to no type for status `400`
  - removed the required property `detail` from the response with the `400` status
  - removed the required property `status` from the response with the `400` status
  - removed the required property `title` from the response with the `400` status
  - …38 more

[Operation history](https://skmtc.dev/factory/apis/factory-public-api/changes/api/v0/sessions/:sessionId/elicitations/get.md)

---

[API](https://skmtc.dev/factory/apis/factory-public-api.md) - [All operations](https://skmtc.dev/factory/apis/factory-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/factory/apis/factory-public-api/revisions/2e37e1b079d2?raw)
