Agent Sessions

Open conversation

Open conversation reads the history row Review the Acme renewal. The first read asks for 1000 events and sends no cursor. The stored page starts at sequence 0 for Assistant, includes both completed turns, the relationship.read tool call, and three model calls on anthropic/claude-sonnet-4-5, and does not name another page.

get/v1/agent-sessions/{id}/events

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /v1/agent-sessions/{id}/events
  • Auth: HTTP bearer

Path parameters

idstring required

Session id.

Example:session_abc123

Stable session id.

Query parameters

afterSeqinteger

Sequence cursor.

Return events after this sequence. The first read omits this.

limitinteger

Page size.

Example:1000

Maximum events to return (up to 1000).

Response

Stored conversation.

nextSeqinteger nullable

Last returned sequence when another page may exist.

Example response

{
  "events": [
    {
      "data": {
        "approvalId": "session_abc123/turn/0/approval/0",
        "tool": "slack.post_message",
        "trustTier": "act"
      },
      "seq": 4,
      "turnSeq": 1,
      "type": "agent.approval_requested"
    }
  ],
  "nextSeq": 500
}

Changes

No operation changes recorded.