Skip to main content

livestreams_overall

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

Overview

Namelivestreams_overall
TypeResource
Idcloudflare.realtime_kit.livestreams_overall

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
dataobject
successboolean

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_id, app_idstart_time, end_timeReturns livestream analytics for the specified time range.

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.
end_timestring (date-time)Specify the end time range in ISO format to access the livestream analytics.
start_timestring (date-time)Specify the start time range in ISO format to access the livestream analytics.

SELECT examples

Returns livestream analytics for the specified time range.

SELECT
data,
success
FROM cloudflare.realtime_kit.livestreams_overall
WHERE account_id = '{{ account_id }}' -- required
AND app_id = '{{ app_id }}' -- required
AND start_time = '{{ start_time }}'
AND end_time = '{{ end_time }}'
;