Skip to main content
GET
Snapshot recent executions

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Sail-Owner-Override-Reason
string

Lets an organization admin operate a private Sailbox someone else created. Say why in plain text; the reason goes into your organization's audit log, and the operation is refused without it. Ignored on Sailboxes you could already operate.

Pause, resume, sleep, scheduled wake, upgrade, reboot, set limits, and terminate accept an override, and so does deleting a checkpoint taken from the Sailbox. Setting an egress policy accepts one too. Running commands and moving files accept one through an SDK or the CLI. Publishing and unpublishing ports, adding and removing custom domains, checkpointing, and creating from a checkpoint stay with the creator.

Pattern: ^[ -~]*$

Path Parameters

sailbox_id
string
required

Id of the Sailbox, as returned by create. It is sb_ followed by a UUID.

Query Parameters

execution_id
string

Exact execution id, URL-encoded and limited to 256 KiB of UTF-8. Empty or omitted selects the current window.

Maximum string length: 262144
limit
integer
default:32

Maximum execution metadata records per response. Byte budgets may return fewer.

Required range: 1 <= x <= 64
output_order
enum<string>
default:streams

streams returns independent tails; observed orders each execution; timeline returns one bounded capture across executions. All are replacement snapshots. Ignored for metadata-only executions reads.

Available options:
streams,
observed,
timeline
max_bytes
integer
default:65536

Maximum decoded output bytes across all chunks per response. The executions endpoint validates this bound but returns no output.

Required range: 1024 <= x <= 262144

Response

Success.

A bounded snapshot with explicit defaults. It is not a complete or offline execution history.

executions
object[]
required
Maximum array length: 64
chunks
object[]
required

Default: up to 128 independent stream tails. Observed mode orders up to 1024 chunks within each execution. Timeline mode orders them across all executions. Replace snapshots; do not append. Always empty for the executions listing.

Maximum array length: 1024
unavailable_reason
string
required

Empty when this observation is available. A nonempty reason means unavailable, not an empty history. sailbox_ means the Sailbox is not running. unsupported_guest means its installed software does not support observation. placement_unavailable, guest_unavailable and worker_unreachable indicate an unavailable or changing connection. execution_not_retained means the selected execution is absent from retained metadata. observation_unavailable means the read could not be completed. Treat unknown future reasons as unavailable.

history_truncated
boolean
required

The output window or metadata budget omitted records, or a record disappeared during the read. Historical pagination is not supported.

timeline_id
string
required

Opaque timeline capture and placement identity. A changed identity resets the view. Missing identity in timeline mode means unsupported, not quiet output.

timeline_last_sequence
string
required

uint64 decimal capture high-water sequence, including executions excluded by a filter. Zero before output. A decrease signals rollback; always replace snapshots.

Pattern: ^[0-9]+$
timeline_truncated
boolean
required

Earlier output was omitted by retention, cancellation or response limits. The remaining recent tail is available.

timeline_unavailable_reason
string
required

Empty for available timeline capture. unsupported_guest and sequence_exhausted mean unavailable, as do unknown future reasons. Top-level unavailable_reason takes precedence.

timeline_started_reason
string
required

guest_start or fork_reap explains why the current in-memory capture began. This is not a per-request reset event. Empty outside timeline mode.