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

# List events

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

## Request

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

Returns one page of agent events, chronological within the page. Forward pagination (after_sequence) walks from a known boundary toward the present using next_after_sequence. Backward pagination (before_sequence) starts at the latest events and walks toward the beginning using next_before_sequence; passing before_sequence takes precedence over after_sequence.

## Path parameters

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

## Query parameters

- `before_sequence` integer
- `after_sequence` integer
- `limit` integer

## Response `200`

Agent events.

- ListAgentEventsResponse
  - `data` AgentEvent[], required
    - union
      - AgentInputEvent
        - `id` string, required
        - `org_id` string, required
        - `project_id` string, required: Project ID (proj_...).
        - `agent_id` string, required
        - `agent_profile_id` string, nullable, required
        - `parent_agent_id` string, nullable, required
        - `root_agent_id` string, required: The top-level agent in the emitting agent's tree. Equals agent_id for a top-level agent.
        - `turn_id` string, required
        - `turn_sequence` integer, required: Positive per-agent event, turn, or live-frame sequence.
        - `is_opening_event` boolean, required
        - `sequence` integer, required: Positive per-agent event, turn, or live-frame sequence.
        - `event_kind` 'agent_input', required
        - `agent_input_id` string, required: Matches the input that produced this event, allowing clients to correlate an input submission with its durable timeline admission.
        - `input_kind` 'content' | 'control' | 'interaction_response' | 'config_change', required
        - `actor_id` string: Actor attributed to the input. Resolve details through the project actors endpoints.
        - `input_idempotency_key` string: Echoes the Idempotency-Key of a content-input request so its sender can recognize the durable admission. Absent for other input kinds.
        - `control_type` 'cancel_current'
        - `interaction_id` string: Interaction answered by an interaction_response input.
        - `agent_config_id` string: Configuration selected by a config_change input.
        - `content_blocks` AgentInputContentBlock[], required
          - union
            - TextContentBlock
              - …
            - MediaRefContentBlock
              - …
        - `created_at` string, date-time, required
      - ModelOutputEvent
        - `id` string, required
        - `org_id` string, required
        - `project_id` string, required: Project ID (proj_...).
        - `agent_id` string, required
        - `agent_profile_id` string, nullable, required
        - `parent_agent_id` string, nullable, required
        - `root_agent_id` string, required: The top-level agent in the emitting agent's tree. Equals agent_id for a top-level agent.
        - `turn_id` string, required
        - `turn_sequence` integer, required: Positive per-agent event, turn, or live-frame sequence.
        - `is_opening_event` false, required
        - `sequence` integer, required: Positive per-agent event, turn, or live-frame sequence.
        - `event_kind` 'model_output', required
        - `model_call_context_id` string, required
        - `stop_reason` 'end_turn' | 'tool_use' | 'max_tokens' | 'refusal' | 'content_filter' | 'error', required: Stop reasons admitted as durable model-output events.
        - `content_blocks` ModelOutputContentBlock[], required
          - union
            - TextContentBlock
              - …
            - MediaRefContentBlock
              - …
            - ReasoningContentBlock
              - …
            - ModelToolCallContentBlock
              - …
            - ErrorContentBlock
              - …
        - `usage` ModelUsage: Token counts the provider reported for one model call. Cache and reasoning counts are omitted when the provider reported none.
          - `input_tokens_total` integer
          - `uncached_input_tokens` integer
          - `output_tokens_total` integer
          - `reasoning_output_tokens` integer
          - `cache_read_input_tokens` integer
          - `cache_write_input_tokens` integer
        - `provider_metadata` object: Facts the provider reported about this call, keyed by provider (for example `openrouter.provider` names the upstream that served an OpenRouter request). Present only when the provider reported something.
        - `created_at` string, date-time, required
      - ToolResultEvent
        - `id` string, required
        - `org_id` string, required
        - `project_id` string, required: Project ID (proj_...).
        - `agent_id` string, required
        - `agent_profile_id` string, nullable, required
        - `parent_agent_id` string, nullable, required
        - `root_agent_id` string, required: The top-level agent in the emitting agent's tree. Equals agent_id for a top-level agent.
        - `turn_id` string, required
        - `turn_sequence` integer, required: Positive per-agent event, turn, or live-frame sequence.
        - `is_opening_event` false, required
        - `sequence` integer, required: Positive per-agent event, turn, or live-frame sequence.
        - `event_kind` 'tool_result', required
        - `tool_call_id` string, required
        - `outcome` 'succeeded' | 'failed' | 'denied' | 'canceled', required: Terminal outcome, present only when state is completed.
        - `content_blocks` ToolResultContentBlock[], required
          - union
            - TextContentBlock
              - …
            - MediaRefContentBlock
              - …
            - StructuredDataContentBlock
              - …
        - `created_at` string, date-time, required
      - ContextCheckpointEvent
        - `id` string, required
        - `org_id` string, required
        - `project_id` string, required: Project ID (proj_...).
        - `agent_id` string, required
        - `agent_profile_id` string, nullable, required
        - `parent_agent_id` string, nullable, required
        - `root_agent_id` string, required: The top-level agent in the emitting agent's tree. Equals agent_id for a top-level agent.
        - `turn_id` string, required
        - `turn_sequence` integer, required: Positive per-agent event, turn, or live-frame sequence.
        - `is_opening_event` false, required
        - `sequence` integer, required: Positive per-agent event, turn, or live-frame sequence.
        - `event_kind` 'context_checkpoint', required
        - `context_checkpoint_id` string, required
        - `summarized_through_event_sequence` integer, required: Positive per-agent event, turn, or live-frame sequence.
        - `summary` string, required
        - `created_at` string, date-time, required
  - `next_after_sequence` integer, required: Sequence to pass as after_sequence on the next request. Equals the request boundary when no events are returned.
  - `next_before_sequence` integer, nullable: Non-negative agent timeline cursor.
  - `has_more` boolean, required: True when another immediate request in the requested pagination direction can return more currently available events.

## 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.
- `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-11-09** `4349dd4a98eb`: 12 info
  - added the required property `data/items/oneOf[#/components/schemas/AgentInputEvent]/agent_profile_id` to the response with the `200` status
  - added the required property `data/items/oneOf[#/components/schemas/AgentInputEvent]/parent_agent_id` to the response with the `200` status
  - added the required property `data/items/oneOf[#/components/schemas/AgentInputEvent]/root_agent_id` to the response with the `200` status
  - added the required property `data/items/oneOf[#/components/schemas/ContextCheckpointEvent]/agent_profile_id` to the response with the `200` status
  - …8 more
- **2026-10-05** `3d9e2cf46e07`: 136 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
  - …132 more
  - …this revision’s changelog is incomplete
- …earlier changes not shown

[Operation history](https://skmtc.dev/omnara/apis/omnara-api-2/changes/orgs/:orgID/projects/:projectID/agents/:agentID/events/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)
