Skip to main content

Export

Exports historical analytics events generated by Command AI.

Silent mode

If you're using silent mode, analytics events will not be stored on Command AI servers, so every call to this endpoint will generate an empty result.

Example

curl -X GET "https://api.commandbar.com/api/{YOUR_ORG_ID}/export" 
-H "X-API-KEY: {YOUR_ACCESS_TOKEN}"
-G
--data-urlencode "start_date=2023-08-01"
--data-urlencode "end_date=2023-08-07"
--data-urlencode "limit=100" # Defaults to 50

Endpoint parameters

PropertyTypeDescription
start_dateRequireddatetimeStart of the time range
end_dateRequireddatetimeEnd of the time range
limitintLimit of events to retrieve. Default 50. Max 50,000
pageintPage number. Index begins at 1.