Skip to content
Console
On this page

Export an agent session

Exports a redacted transcript at the current idle Session frontier.

Exports a redacted transcript at the current idle Session frontier. This is read-only; it neither exports private replay state nor fences the writer.

  • Path GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/agent_sessions/agent-session:export
  • Scope agents:sessions
  • Effect read — nothing is written.
  • Collection agent_sessions

Request

FieldTypeWhat it is
namestringCanonical Session resource name. Required.

Response

FieldTypeWhat it is
snapshotbytesUTF-8 JSON (base64 on HTTP): format, pinned agent and agent_version, model binding, last_event_sequence, ordered public events and optional workspace_diff_artifact. Integer event coordinates are decimal strings. Never returned again.
snapshot_sha256stringLowercase SHA-256 hex of the exact decoded snapshot bytes.

Errors

Every error arrives in the body Errors describes.

Examples

curl "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/agent_sessions/agent-session:export" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"