Live Exports

Get the schedule

The export's cadence, daily run time and on/off switch, plus the cadences your plan can set. Before the first save this is a 409 not_provisioned; after saving, 404 until a PATCH creates the schedule.

get/v1/live-export/live-exports/{id}/schedule

Request

  • Base URL: https://api.whalesync.com
  • URL: https://api.whalesync.com/v1/live-export/live-exports/{id}/schedule
  • Auth: HTTP bearer

Path parameters

idstring required
Example:lex_8f3kq0vz

Response

enabledboolean required

Whether the cadence is on. This is the on/off switch for the whole export.

cadence'every_10_minutes' | 'every_30_minutes' | 'hourly' | 'daily' | 'custom' required
time_of_daystring nullable required

When a daily export runs: a whole hour in 24-hour time, in timezone (UTC when no timezone is set). Null for the other cadences.

cronstring required

The exact schedule, as a cron expression. Read-only; set cadence and time_of_day instead.

timezonestring nullable required
next_run_atstring date-time nullable required

When the next scheduled run fires.

last_triggered_atstring date-time nullable required
allowed_cadencesstring[] required

The cadences your plan can set. Pick from these to avoid a plan_required error.

Example response

{
  "time_of_day": "09:00",
  "timezone": "America/New_York"
}

Changes

No recorded changes to this operation across all 1 revision of this API.