Skip to main content
GET
Get root timeline events

Authorizations

Authorization
string
header
required

A Recursion API key, created in the console under API keys.

Headers

x-tenant-id
string

Optional tenant consistency check. When present, it must name the tenant bound to the API key, including when x-organization-id is default.

Minimum string length: 1
x-organization-id
string

Organization in which to act. Required for a tenant-scoped API key. Optional for an organization-scoped key, where it must name that same organization. The value may be an organization id or default.

Minimum string length: 1

Path Parameters

sessionId
string<uuid>
required

Session whose root timeline is read.

Query Parameters

cursor
string

Exclusive lowercase canonical UUID event cursor from the previous page's nextCursor.

Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
limit
integer
default:100

Maximum event count requested; a byte budget may shorten a page.

Required range: 1 <= x <= 9007199254740991
hydrate
enum<string>

Set to images to hydrate private image references.

Available options:
images
imageUrls
enum<string>

Set to signed to add short-lived image URLs where available.

Available options:
signed
payloads
enum<string>

Set to refs to return bounded stubs for external payloads.

Available options:
refs

Response

OK

items
object[]
required

One chronological page of events from the session tree.

nextCursor
null | string
required

Event cursor for the next page, or null when no more events follow.

total
null | integer
required

Total matching events when known; null for a live timeline.

Required range: 0 <= x <= 9007199254740991