---
title: "List agent interactions"
method: GET
path: "/orgs/{orgID}/projects/{projectID}/agents/{agentID}/interactions"
tags: ["Interactions"]
---

# List agent interactions

`GET /orgs/{orgID}/projects/{projectID}/agents/{agentID}/interactions`

## Request

- Base URL: `https://api.omnara.com/v1`
- URL: `https://api.omnara.com/v1/orgs/{orgID}/projects/{projectID}/agents/{agentID}/interactions`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-omnara_session`

Lists an agent's permission prompts and ask_question questions, oldest first, with each one's form and answers. state filters by open, resolved, or canceled.

## Path parameters

- `orgID` string, required
- `projectID` string, required
- `agentID` string, required

## Query parameters

- `state` 'open' | 'resolved' | 'canceled'
- `include_subagents` boolean
- `limit` integer
- `cursor` string

## Response `200`

Agent interactions.

- ListAgentInteractionsResponse
  - `data` AgentInteraction[], required
    - `id` string, required
    - `org_id` string, required
    - `project_id` string, required: Project ID (proj_...).
    - `agent_id` string, required
    - `tool_call_id` string, required: The tool call that is waiting on this interaction — the guarded tool for a permission, or the ask_question call for a question.
    - `tool_name` string: The tool whose invocation a permission interaction guards. Present only when interaction_kind is permission.
    - `agent_name` string: Name of the owning agent. Included by both interaction list endpoints.
    - `subagent_key` string: Key of the owning agent when it is a subagent. Included by both interaction list endpoints.
    - `interaction_kind` 'permission' | 'question', required
    - `state` 'open' | 'resolved' | 'canceled', required
    - `request` InteractionForm, required
      - `title` string, required
      - `context` InteractionFormContextItem[]
        - `label` string, required
        - `value` string, required
      - `questions` InteractionFormQuestion[], required
        - `prompt` string, required
        - `multiple` boolean: Whether the answer may select more than one option.
        - `options` InteractionFormOption[], required
          - `label` string, required
          - `allows_text` boolean: Whether the answer may include optional companion text for this option.
    - `resolution` InteractionResolution
      - `answers` InteractionAnswer[], required: Answers in the same order as the interaction form's questions.
        - `option_indices` integer[], required: Zero-based indices of the chosen options. Pick one unless the question allows multiple.
        - `text` string: Free text sent with an option whose allows_text is true.
    - `destination` AgentInteractionDestination: Captured built-in integration destination. Absent for dashboard-only or older interactions; never reconstructed from the current agent selection.
      - `integration_kind` 'slack_thread' | 'discord_thread' | 'github_pr', required: Registered integration implementation; independent of the saved integration's name and immutable ID.
      - `handler_key` string, required
      - `integration_id` string, required
      - `integration_target_id` string, required
      - `conversation` IntegrationConversation, required: One concrete provider address, validated by the integration's capabilities.subscription.conversation_schema. Slack uses channel_id and optional thread_ts; Discord uses channel_id for a channel or thread_id for a thread; GitHub uses repository_id and pull_request. Discord accepts optional parent channel_id and guild_id alongside thread_id and validates their ID format, but subscription creation does not verify them against Discord or retain them as routing restrictions. Only thread_id is retained in a canonical thread address and returned by create/list responses. No credentials or runtime state.
    - `presentation_receipt` InteractionPresentationReceipt: Confirmed provider presentation metadata, when recorded. This is not an execution grant or a delivery guarantee. Absence does not prove a remote send failed. Customer-hosted presenters maintain their own delivery records.
    - `resolved_by_input_id` string: The agent input that canceled the interaction — the content input that superseded it, or the cancel control input. Absent on open interactions and on resolutions that were answered directly. Present only when the interaction was canceled or superseded.
    - `resolved_by_actor_id` string: The actor who resolved the interaction. Present on resolved interactions; absent on open or canceled interactions.
    - `created_at` string, date-time, required
    - `resolved_at` string, date-time
  - `next_cursor` string, nullable, required

## Other responses

- `400`: The request was invalid.
- `401`: Authentication is required or invalid.
- `403`: The authenticated principal is not authorized.
- `404`: The requested resource was not found or is not visible.
- `409`: The request conflicts with current resource state or idempotency history.
- `503`: The service dependency required to satisfy the request is unavailable.
- `4XX`: Any other client error. The body carries the shared Error envelope restricted to client error codes; statuses with a dedicated response above are documented precisely.
- `5XX`: Any other server error. The body carries the shared Error envelope restricted to server error codes.

## Changes

- **2026-12-01** `83d3defdb854`: 1 info
  - added the optional property `data/items/resolved_by_actor_id` to the response with the `200` status
- **2026-10-07** `680248a0ba72`: 2 info
  - added the optional property `data/items/destination` to the response with the `200` status
  - added the optional property `data/items/presentation_receipt` to the response with the `200` status
- **2026-10-05** `3d9e2cf46e07`: 159 info
  - added the optional property `current_digest` to the response with the `400` status
  - added the optional property `current_digest` to the response with the `401` status
  - added the optional property `current_digest` to the response with the `403` status
  - added the optional property `current_digest` to the response with the `404` status
  - …155 more
  - …this revision’s changelog is incomplete
- **2026-09-28** `acddeb8fc6a5`: 7 warning, 7 info
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `400`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `401`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `403`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `404`
  - …10 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/omnara/apis/omnara-api-2/changes/orgs/:orgID/projects/:projectID/agents/:agentID/interactions/get.md)

---

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