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
| Field | Type | What it is |
|---|---|---|
name | string | Canonical Session resource name. Required. |
Response
| Field | Type | What it is |
|---|---|---|
snapshot | bytes | UTF-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_sha256 | string | Lowercase SHA-256 hex of the exact decoded snapshot bytes. |
Errors
UNAUTHENTICATED— No valid key or token was presented.PERMISSION_DENIED— The key lacks the method's permission.RESOURCE_NOT_FOUND— The named Resource does not exist or is not visible.INVALID_STATE— The Resource is in a state that forbids the call.
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"