Skip to content
Start In Cloud

Export AI chatbot events

GET
/api/sites/{id}/ai-chatbots/export

Exports AI chatbot instrumentation events for the selected site and date range in csv/xlsx/parquet/json/ndjson. Optional scope filters restrict the export to a single provider, bot, surface, or model.

id
required
string format: uuid
from
string format: date-time
to
string format: date-time
format
string
Allowed values: xlsx csv parquet json ndjson

Export format. Supported values: xlsx, csv, parquet, json, ndjson. Defaults: xlsx for takeout endpoints, csv for hits export endpoints.

scope_key
string
Allowed values: provider bot_id surface model

Optional chatbot scope filter key.

scope_value
string

Optional chatbot scope filter value. Requires scope_key.

Export file stream