Skip to main content
GET
Get session compact

Authorizations

Authorization
string
header
required

Enter a Forge service-account token or delegated OAuth access token. Mintlify adds the Bearer prefix.

Path Parameters

organizationId
string
required
sessionId
string
required

Query Parameters

limit
integer
default:100
Required range: 1 <= x <= 500
cursor
string
occurrenceDeviceId
string

Exact stored device identity. Adjacent cursors preserve this scope.

occurrenceScope
enum<string>

Select messages without a single proved device. Cannot be combined with occurrenceDeviceId.

Available options:
unattributed
order
enum<string>
default:asc
Available options:
asc,
desc
aroundMessageId
string

Stable normalized Message identity to center in a bounded Compact window. Cannot be combined with cursor.

Response

Normalized effective messages with stored parent links, content-access state and opaque generation cursors, or an explicit occurrence-group selection.

One bounded, snapshot-stable window of normalized session messages. Raw, Compact, and Replay use this same public shape and differ only in presentation and authorization.

contentAccess
object
required
messages
object[]
required
Maximum array length: 500
occurrenceScope
enum<string>
Available options:
unattributed
occurrenceDeviceId
string
previousCursor
string
nextCursor
string
anchor
object
snapshotId
string
generation
string
newerMessagesAvailable
boolean