sessions_peer_report
Creates, updates, deletes, gets or lists a sessions_peer_report resource.
Overview
| Name | sessions_peer_report |
| Type | Resource |
| Id | cloudflare.realtime_kit.sessions_peer_report |
Fields
The following fields are returned by SELECT queries:
- get_by_account
Returns details of a participant (using peer id) along with callstats data.
| Name | Datatype | Description |
|---|---|---|
data | object | |
success | boolean |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_by_account | select | account_id, app_id, peer_id | filters | Returns 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.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
app_id | string | The Access application ID. |
peer_id | string | ID of the peer |
filters | string | Comma separated list of filters to apply. Note that there must be no spaces between the filters. |
SELECT examples
- get_by_account
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 }}'
;