Download a Recording Artifact

Prev Next
Get
/recorded-sessions/{id}/download

Streams a recording artifact from the owning Gateway through the Controller to the caller. The format selects which artifact: auto (MP4 if converted, else raw .guac), guac (the raw stream, for the in-browser player), mp4 (the MP4 export, 404 if not yet converted), or typescript (the SSH keystroke log).

Security
HTTP
Type bearer
Header parameters
Range
string

Optional closed byte range in the form "bytes=start-end". Only the closed form is supported; the client drives chunking with explicit windows. Omitted for a full download.

Path parameters
id
stringRequired

The recording session id (Gateway session token).

Example779a7685902e18ddc87e36b7101654de
Query parameters
gatewayId
string (uuid) Required

The ID of the Gateway that owns the recording. Returned by the list API.

Example7f1a3c22-d9b4-41f0-b17c-9a8e2f5d6c11
format
string

Which artifact to download.

Valid values[ "auto", "guac", "mp4", "typescript" ]
Default"auto"
Responses
200

The full recording artifact.

Headers
Accept-Ranges
string
Always "bytes"; advertises range-request support.
Examplebytes
string (binary)
206

A byte range of the recording artifact.

Headers
Accept-Ranges
string
Examplebytes
Content-Range
string
The range of bytes returned and the total size (if known).
Examplebytes 0-1048575/5242880
string (binary)
401

Token error. Login again.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

403

Insufficient permissions to access this resource.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

404

The requested resource can not be found.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

422

Request validation error. Check "errors" array for details.

Expand All
object

Http 422 error for object validation.

id
string

Machine readable error code.

message
string

Human readable error details.

errors
Array of object

List of fields with validation errors.

object
field
string

Name of the field that failed validation.

Examplename
message
string

Failure reason.

Examplemay not be null
displayField
string

Name of the field that should be displayed in the UI. It's an internal field to be used by the local replication service.

ExampleName
replicationMessage
string

Message to be displayed in the replication UI. It's an internal field to be used by the local replication service.

ExampleName is required.
500

Unexpected server side error.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.