Skip to main content

sessions_chat

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

Overview

Namesessions_chat
TypeResource
Idcloudflare.realtime_kit.sessions_chat

Fields

The following fields are returned by SELECT queries:

Returns all chat messages of a session.

NameDatatypeDescription
dataobject
successboolean

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_id, app_id, session_idReturns a URL to download all chat messages of the session ID in CSV format.

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.
session_idstringThe session ID.

SELECT examples

Returns a URL to download all chat messages of the session ID in CSV format.

SELECT
data,
success
FROM cloudflare.realtime_kit.sessions_chat
WHERE account_id = '{{ account_id }}' -- required
AND app_id = '{{ app_id }}' -- required
AND session_id = '{{ session_id }}' -- required
;