Skip to main content

sessions_peer_report

Creates, updates, deletes, gets or lists a sessions_peer_report resource.

Overview

Namesessions_peer_report
TypeResource
Idcloudflare.realtime_kit.sessions_peer_report

Fields

The following fields are returned by SELECT queries:

Returns details of a participant (using peer id) along with callstats data.

NameDatatypeDescription
dataobject
successboolean

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_accountselectaccount_id, app_id, peer_idfiltersReturns details of the given peer ID along with call statistics for the given session ID.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
app_idstringThe Access application ID.
peer_idstringID of the peer
filtersstringComma separated list of filters to apply. Note that there must be no spaces between the filters.

SELECT examples

Returns details of the given peer ID along with call statistics for the given session ID.

SELECT
data,
success
FROM cloudflare.realtime_kit.sessions_peer_report
WHERE account_id = '{{ account_id }}' -- required
AND app_id = '{{ app_id }}' -- required
AND peer_id = '{{ peer_id }}' -- required
AND filters = '{{ filters }}'
;