Skip to main content
GET
Get a session export

Authorizations

Authorization
string
header
required

MCPJam API key (sk_…). Create one at Settings → API keys. Guest sessions cannot use the API, and API keys cannot manage other API keys.

Path Parameters

projectId
string
required

ID of the hosted project that contains the server.

exportId
string
required

The exportId the request returned.

Query Parameters

waitSeconds
integer
default:0

Seconds to wait for a running export to finish before answering, from 0 to 25. The route reads the export about once a second.

Required range: 0 <= x <= 25

Response

The export is ready or failed.

exportId
string
required
status
enum<string>
required

Read again while running. A ready export carries parts.

Available options:
running,
ready,
failed
selection
object
required

What the export holds, as the request named it.

sessionCount
integer | null
required

Sessions selected. Null until a run's sessions are counted.

exportedCount
integer
required
skippedCount
integer
required

Every skipped session. skipped lists the first 500.

skipped
object[]
required
totalBytes
integer
required
error
object | null
required

Why a failed export failed. Null otherwise.

createdAt
integer
required
readyAt
integer | null
required
expiresAt
integer | null
required

When the export is deleted, in epoch milliseconds. Null while it builds.

parts
object[]

Present only when status is ready.