inklet docs

List analysis events

GET/api/sdk/v1/analyses/{analysisId}/events

One page of the public event stream, oldest first. Pass the previous page's nextAfter as after to continue, and read state to know whether the run is over.

The stream is a progress report, not the run's log. The agent's turns, its individual tool calls and their arguments and output, and the sentences a rejected plan was faulted for are not part of the public API at any depth — a detail query parameter is rejected with 400.

seq is monotonic but not contiguous: it is shared with events that are not published, so a public page skips numbers. Treat it as an ordering and a resume token, never as a count.

Authorization

bearerAuth
AuthorizationBearer <token>

A personal access token created in the inklet portal. Server-side use only.

In: header

Path Parameters

analysisId*string
Length1 <= length

Query Parameters

after?integer

Exclusive lower bound on seq.

Range0 <= value <= 2147483647
Default0
limit?integer

Events per page. Out-of-range values are rejected, not clamped.

Range1 <= value <= 200
Default50

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/sdk/v1/analyses/string/events"
{  "items": [    {      "seq": 1,      "at": "2019-08-24T14:15:22Z",      "attempt": 0,      "source": "agent",      "type": "analysis.created",      "level": "info",      "visibility": "public",      "summary": "string",      "data": {}    }  ],  "nextAfter": 0,  "hasMore": true,  "state": "queued"}