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
Property | Type | Description |
---|---|---|
start_date Required | datetime | Start of the time range |
end_date Required | datetime | End of the time range |
limit | int | Limit of events to retrieve. Default 50. Max 50,000 |
page | int | Page number. Index begins at 1. |