githubEdit

/insights

Get room insights

get

Gets a summary of insights collected for rooms.

Query parameters
sortByanyOptional

Sort results by a field.

Example: totalSessions:asc
cursoranyOptional

The cursor for paginating through the results. To fetch the next page, set the cursor to the cursor returned by the previous request.

Example: 8f4031bfc7640c5f267b11b6fe0c2507
limitinteger · min: 1 · max: 100Optional

Limit the number of results.

Default: 10Example: 30
Responses
chevron-right
200

Array of sorted rooms with their insights.

application/json
cursorstringOptional

The cursor for paginating through the results. To fetch the next page, set the cursor to the cursor returned by the previous request. If there are no more results, the value returned is null.

get
/insights/rooms

Get room session insights

get

Gets a summary of usage for each session of a given room.

Query parameters
roomNameanyRequired

Room name.

Example: /room-prefix-793e9ec1-c686-423d-9043-9b7a10c553fd
roomSessionIdanyOptional

Room session identifier.

Example: e2f29530-46ec-4cee-8b27-e565cb5bb2e9
sortByanyOptional

Sort results by a field.

Example: totalUniqueParticipants:asc
cursoranyOptional

The cursor for paginating through the results. To fetch the next page, set the cursor to the cursor returned by the previous request.

Example: 8f4031bfc7640c5f267b11b6fe0c2507
limitinteger · min: 1 · max: 100Optional

Limit the number of results.

Default: 10Example: 30
Responses
chevron-right
200

Array of sorted sessions with their insights.

application/json
cursorstringOptional

The cursor for paginating through the results. To fetch the next page, set the cursor to the cursor returned by the previous request. If there are no more results, the value returned is null.

get
/insights/room-sessions

Get participants

get

Gets a list of participants, by either a given session id or external id.

Query parameters
roomSessionIdanyRequired

session ID. Either roomSessionId or externalId is required.

Example: e2f29530-46ec-4cee-8b27-e565cb5bb2e9
externalIdanyOptional

an externalId that was originally passed in query params by the participant when joining. Either roomSessionId or externalId is required.

sortByanyOptional

Sort results by a field. Accepted values are joinedAt and leftAt. Accepted sort values are asc and desc.

Example: joinedAt:asc
cursoranyOptional

The cursor for paginating through the results. To fetch the next page, set the cursor to the cursor returned by the previous request.

Example: 8f4031bfc7640c5f267b11b6fe0c2507
limitinteger · min: 1 · max: 100Optional

Limit the number of results.

Default: 10Example: 30
Responses
chevron-right
200

Array of sorted sessions participants with insights.

application/json
cursorstringOptional

The cursor for paginating through the results. To fetch the next page, set the cursor to the cursor returned by the previous request. If there are no more results, the value returned is null.

get
/insights/participants

Get details for a participant in a session

get

Returns session data such as user agent, bandwidth and packet loss for the participant.

Query parameters
roomSessionIdanyRequired

session ID.

Example: e2f29530-46ec-4cee-8b27-e565cb5bb2e9
participantIdanyRequired

participant ID.

Example: 32ba120a-a691-4e8e-aec3-a610239271de
Responses
chevron-right
200

Array of sorted sessions participants with insights.

application/json
displayNamestringRequired

Display name of the participant.

userRolestringRequired

The role of the participant.

Example: host
userAgentstringRequired

User agent string of the participant.

Example: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
timeStampstringRequired

Timestamp the participant joined the session.

sampleRateMsnumberRequired

The interval (in milliseconds) the samples are collected in.

Example: 2000
samplesobjectRequired

Data object arrays with network data. packetLossSend, packetLossRecv, bitrateSend and bitrateRecv.

get
/insights/participant

Last updated

Was this helpful?