Skip to main content
GET
Get Date Range

Authorizations

x-api-key
string
header
required

API key for authentication. You can create one here.

Query Parameters

website_id
string<uuid>
required

The ID of the website to retrieve the date range for

schedule_id
default:default

Select one streaming schedule. Use the selection returned by GET /api/v1/prompt-schedules. Default includes all pre-cutover history and ad hoc runs; archived schedules retain results. The retired manual token is accepted as an alias of default. No All schedules selection.

Available options:
default,
manual
prompt_status
enum<string>

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

Available options:
active,
paused

Response

Successful response with date range

min_date
string<date-time> | null
required

The earliest timestamp with available data (UTC)

Example:

"2024-01-15T08:20:17.844Z"

max_date
string<date-time> | null
required

The latest timestamp with available data (UTC)

Example:

"2024-12-01T14:30:45.123Z"