Export session transcript
Sessions
Export session transcript
Stream a session’s full event transcript as newline-delimited JSON.
POST
Export session transcript
Restrictions
| Aspect | Value |
|---|---|
| Rate limits | 1,000 requests/minute; 50 requests/second per account |
| Permissions | None — any valid app_key can call this operation |
Usage
- The response is
application/x-ndjson— parse line-by-line and write to a file; do not buffer the whole body in memory. - The first line is always a
session_metaenvelope;include_subagents=trueinlines each child session’s stream after its dispatch line.
Authorizations
App key issued from the Flashduty console. Required on every public API call. Keep it secret — it grants the same access as the owning account.
Body
application/json
Response
Streaming NDJSON (application/x-ndjson). One JSON object per line, terminated by a newline. The first line is always a session_meta envelope; subsequent lines are session events.
Newline-delimited JSON stream. Parse line-by-line; do not buffer the whole body.