Events

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.

get/orgs/{orgID}/projects/{projectID}/agents/{agentID}/events

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    • HTTP bearer
    • or API key in cookie __Host-omnara_session

Path parameters

orgID, string required

Organization ID (org_...).

projectID, string required

Project ID (proj_...).

agentID, string required

Agent ID (agt_...).

Query parameters

before_sequence, integer

Exclusive event sequence boundary for backward pagination. Pass 0 for the latest events.

after_sequence, integer

Exclusive event sequence boundary. Omit or pass 0 for the beginning of the agent event log.

limit, integer

Maximum number of events to return.

Response

Agent events.

ListAgentEventsResponse required
data, AgentEvent[] 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.

Changes

    • info

      added the required property data/items/oneOf[#/components/schemas/AgentInputEvent]/agent_profile_id to the response with the status

    • info

      added the required property data/items/oneOf[#/components/schemas/AgentInputEvent]/parent_agent_id to the response with the status

    • info

      added the required property data/items/oneOf[#/components/schemas/AgentInputEvent]/root_agent_id to the response with the status

    9 more changes in this revision