Get Recorded Sessions

Prev Next
Get
/recorded-sessions

Get a list of recorded (past) embedded SSH/RDP sessions from every Gateway in the system. Recordings are stored on the Gateway that hosted the session; this API fans out across all Gateways and merges the results. The operation may take long if one or more Gateways take long to respond.

Security
HTTP
Type bearer
Query parameters
query
string

Query string to filter the result list. It's used for various fields depending on the object type. Send multiple query parameters to make the queries more specific.

range
string

'Range string to limit the result list. Format: -. 3-10 means the items between the (including) 3rd and the 10th will be returned. Defaults to all objects.'

Example0-10
orderBy
string

The field name to sort the result list. Supported fields vary from object to object. Defaults to certain field depending on the object type.

Examplename
descending
string

Whether the sorting is applied descending or ascending. Defaults to certain field depending on the object type.

filterBy

Filters the result list by the given field and value. Supported fields vary from API to API. The filters can be combined with each other as well as the generic query parameter. The given value is checked for inclusion.

object
property*
string additionalProperties
Example{ "name": "us-east", "tags": "aws" }
siteName
string

Filter results to Gateways in the Site with this name.

Exampleus-east
Responses
200

Recorded Sessions.

Expand All
object
range
string

The range applied to the list. Format: -/. 3-5/8 means, out of 8 count (query affects the total), the items between (including) the 3rd and the 5th are returned.

Example0-30/54
orderBy
string

The field name used to sort the list.

Examplename
descending
boolean

Whether the sorting is applied descending or ascending.

queries
Array of string

The queries applied to the list.

string
totalCount
integer

The total readable count of entities. Not influenced by the query.

Example328
filterBy
Array of object (FilterBy)

The filters applied to the list.

object
name
string

The field name the filter is applied to.

Examplename
value
string

The value used for comparison.

ExampleAWS
data
Array of object (RecordedSession)
object
distinguishedName
string

Distinguished name of a user&device combination. Format: "CN=,CN=,OU="

ExampleCN=4c07bc6757ea42ddb702c2d6c45419fc,CN=user,OU=ldap
deviceId
string (uuid)

The device ID, same as the one in the Distinguished Name.

Example4c07bc67-57ea-42dd-b702-c2d6c45419fc
username
string

The username, same as the one in the Distinguished Name.

Exampleuser
providerName
string

The provider name of the user, same as the one in the Distinguished Name.

Exampleldap
id
string

The recording session id (Gateway session token).

Example779a7685902e18ddc87e36b7101654de
gatewayId
string (uuid)

The ID of the Gateway that owns this recording. Use this when converting or downloading.

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

The protocol of the recorded session.

ExampleSSH
site
string (uuid)

The ID of the Site the Gateway is assigned to.

Example4c07bc67-57ea-42dd-b702-c2d6c45419fc
siteName
string

The name of the Site the Gateway is assigned to.

Exampleus-east
entitlementName
string

The name of the Entitlement that authorized the session.

Exampleguac-remote-session
host
string

The host the session was connected to.

Example10.0.0.1
sessionStart
string

RFC3339 timestamp when the session started.

Example2026-07-13T10:00:00Z
sessionEnd
string

RFC3339 timestamp when the session ended.

Example2026-07-13T10:15:00Z
sourceIp
string

The client tunnel IP the session originated from.

Example15.0.170.1
status
string

The recording status.

Valid values[ "complete", "failed", "recording", "terminated" ]
Examplecomplete
failureReason
string

Why a terminated or failed capture ended; null for a clean recording.

Examplegateway restarted mid-capture
hasExport
boolean

Whether an MP4 export is already available.

Exampletrue
downloadFormat
string

The preferred download format for the primary artifact.

Examplem4v
exportStatus
string

The MP4 export lifecycle state. Poll this after requesting a conversion.

Valid values[ "none", "converting", "complete", "failed" ]
Examplecomplete
exportProgress
integer

Live convert percent (0-100) while exportStatus is "converting"; null otherwise.

Example42
integrityHash
string

The tamper-evidence hash of the raw .guac recording.

Examplesha256:94daed5abe2deca81986002f26684168553cbd8f2ec56d33717de14fe081e2ad
exportHash
string

The sha256 hash of the converted MP4, present once exportStatus is complete.

Examplesha256:5aa93d7c1d7f8b0c7e2c0e4a6f8d2e9b1a3c5f7e9b0d1c2a3b4c5d6e7f8091a2
recordingBytes
integer (int64)

On-disk size of the raw .guac recording, in bytes. Null when the file is absent.

Example5242880
exportBytes
integer (int64)

On-disk size of the MP4 export, in bytes. Null when no export exists.

Example3145728
diskUsage
object

Aggregate recording-volume capacity

totalBytes
integer (int64)

Total capacity of the recording volumes, in bytes.

Example107374182400
freeBytes
integer (int64)

Free capacity across the recording volumes, in bytes.

Example42949672960
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.

406

Invalid 'Accept' header.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.

500

Unexpected server side error.

object

Generic HTTP error.

id
string

Machine readable error code.

message
string

Human readable error details.