Request a session export
Ask for one file of full, uncut transcripts: every session of a finished swarm run, every session of a finished eval run, or up to 500 listed sessions. Name exactly one. The export builds in the background and is private to you.
A small run is one call: pass waitSeconds (up to 25) and the route waits for the export. It answers 202 while the export is still running (read it with GET /projects/{projectId}/session-exports/{exportId}) and 200 once it is ready or failed.
A ready export lists its parts: download each url in index order and concatenate them into one JSON Lines file. Each line is one session, with its messages as OpenTelemetry GenAI messages plus a toolCalls index. Tool results are kept whole, with isError as a field of the result.
Asking again for the same selection returns your earlier export while it is current, with reused: true.
Refusals:
404when the project, the run or a listed session is not found. For listed sessions,details.sessionIdsnames the ids.409withdetails.reason: "run_not_finished"while the run is still going. Request the export once it finishes.429withRetry-Afterwhen too many exports are building in the project or you asked too often.
Authorizations
MCPJam API key (sk_…). Create one at Settings → API keys. Guest sessions cannot use the API, and API keys cannot manage other API keys.
Body
- Option 1
- Option 2
- Option 3
Name exactly one of swarmRunId, evalRunId or sessionIds.
Response
The export is ready or failed.

