Skip to content

Resolve organization_id/status/recording_uri for an orphaned .cast sweep (GAP-BE-007).

GET
/api/internal/sessions/{session_id}/summary

Called by the gateway’s periodic recordings_dir sweep when it finds a .cast file whose session_id is not in the gateway’s own in-memory metadata (a gateway restart lost that state). Returns the owning organization_id so the gateway can compute the S3 key, plus the current recording_uri (non-null means a recording is already attached — the local file is a stale duplicate safe to drop) and status. Auth: X-Gateway-Token (shared secret).

Parameters

Path Parameters

session_id
required
string format: uuid

Header Parameters

x-gateway-token
Any of:
string

Responses

200

Successful Response

Response body for GET /internal/sessions/{session_id}/summary.

object
organization_id
required
string
recording_uri
required
Any of:
string
status
required
string

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string