Basics
Get Date Range
Changed onReturns the date range with available data for one streaming schedule's prompts. Omitting schedule_id selects Default, including all pre-cutover history.
get/api/v1/date-range
Request
- Base URLhttps://api.athenahq.ai
- AuthAPI key in header x-api-key
Query parameters
website_idstring uuid required
The ID of the website to retrieve the date range for
prompt_status'active' | 'paused'
Filter by prompt status. If omitted, includes all prompts (active and paused).
Response
Successful response with date range
Example response
{
"min_date": "2024-01-15T08:20:17.844Z",
"max_date": "2024-12-01T14:30:45.123Z"
}Changes
- info
added the new optional
queryrequest parameterschedule_id
- info