Basics

Returns 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 URL
    https://api.athenahq.ai
  • Auth
    API key in header x-api-key

Query parameters

website_idstring uuid required

The ID of the website to retrieve the date range for

'default' | 'manual'
OR
string uuid
prompt_status'active' | 'paused'

Filter by prompt status. If omitted, includes all prompts (active and paused).

Response

Successful response with date range

min_datestring date-time nullable required

The earliest timestamp with available data (UTC)

max_datestring date-time nullable required

The latest timestamp with available data (UTC)

Example response

{
  "min_date": "2024-01-15T08:20:17.844Z",
  "max_date": "2024-12-01T14:30:45.123Z"
}

Changes