Events

Returns turns newest first. Use the returned next_before_turn_sequence as before_turn_sequence to fetch older turns.

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

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_turn_sequence, integer

Exclusive turn sequence boundary. Omit or pass 0 for the newest turns.

limit, integer

Maximum number of turns to return.

Response

Agent turns.

ListAgentTurnsResponse required
data, AgentTurn[] required
next_before_turn_sequence, integer nullable required

Non-negative agent timeline cursor.

Changes

    • info

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

    • info

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

    • info

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

    33 more changes in this revision