Skip to content

API reference

Create a disabled pilot schedule

POST
/v1/pilot/schedules

Requires sync:write. Requires an active connection and destination, both runtime grants and homogeneous published timezone evidence. windowDays is 1–31 and cadenceMinutes is 15, 60 or 1440. A cadence faster than the source’s refresh floor is refused cadence_below_source_floor (400); GA4 declares an hourly floor, so 15 is refused on every plan today. A cadence faster than the plan’s refresh floor is refused cadence_not_entitled (403), in the same write that would create the schedule. A 201 does not promise a run at the requested interval. The service assigns next_due_at from its current time. Every successful creation creates a new disabled schedule; retain scheduleId. One schedule per destination may later be enabled.

Exactly these fields; workspace comes from the current API key and timezone from existing homogeneous published heads. No arbitrary timezone, token, spreadsheet ID or due time is accepted. Cadence is checked against the plan’s refresh floor at creation; it is not a promise that a run happens at that interval.

object
connectionId
required
string
/^[A-Za-z0-9_-]{1,128}$/
propertyId
required
string
/^[1-9][0-9]{0,19}$/
destinationId
required
string
/^[A-Za-z0-9_-]{1,128}$/
windowDays
required
integer
>= 1 <= 31
cadenceMinutes
required
integer
Allowed values: 15 60 1440

Create a disabled pilot schedule.

object
scheduleId
required
string
/^[A-Za-z0-9_-]{1,128}$/
enabled
required
boolean
timezone
required

A timezone accepted by the runtime IANA timezone formatter; selected from homogeneous published source heads.

string
<= 128 characters /^[A-Za-z0-9_+./-]+$/
windowDays
required
integer
>= 1 <= 31
cadenceMinutes
required
integer
Allowed values: 15 60 1440
destinationId
required
string
/^[A-Za-z0-9_-]{1,128}$/

invalid_json, invalid_request, or invalid_schedule for an unsupported cadence/window, or cadence_below_source_floor for a cadence faster than the source can refresh (GA4 refreshes hourly at most, so 15 is refused on every plan).

object
error
required
object
code
required
string
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor unsupported_media_type unsupported_encoding request_too_large unauthorized forbidden not_found method_not_allowed destination_not_found schedule_not_found pipeline_not_found connection_unavailable source_permission_required destination_permission_required cadence_not_entitled schedule_enable_forbidden schedule_inactive destination_conflict destination_creation_unconfirmed destination_unavailable timezone_unverified timezone_conflict schedule_conflict redrive_conflict sheet_capacity_exhausted sheet_layout_conflict credential_configuration_unavailable automation_configuration_unavailable credential_unavailable credential_busy provider_auth_failed provider_rate_limited provider_unavailable automation_unavailable
message
required
string
error
object
code
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor
error
object
code
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor unauthorized forbidden source_permission_required destination_permission_required cadence_not_entitled connection_unavailable destination_not_found method_not_allowed destination_unavailable timezone_unverified timezone_conflict schedule_conflict sheet_capacity_exhausted request_too_large unsupported_media_type unsupported_encoding automation_unavailable

Missing, expired, revoked or reassigned key, including changes before response release.

object
error
required
object
code
required
string
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor unsupported_media_type unsupported_encoding request_too_large unauthorized forbidden not_found method_not_allowed destination_not_found schedule_not_found pipeline_not_found connection_unavailable source_permission_required destination_permission_required cadence_not_entitled schedule_enable_forbidden schedule_inactive destination_conflict destination_creation_unconfirmed destination_unavailable timezone_unverified timezone_conflict schedule_conflict redrive_conflict sheet_capacity_exhausted sheet_layout_conflict credential_configuration_unavailable automation_configuration_unavailable credential_unavailable credential_busy provider_auth_failed provider_rate_limited provider_unavailable automation_unavailable
message
required
string
error
object
code
Allowed value: unauthorized
error
object
code
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor unauthorized forbidden source_permission_required destination_permission_required cadence_not_entitled connection_unavailable destination_not_found method_not_allowed destination_unavailable timezone_unverified timezone_conflict schedule_conflict sheet_capacity_exhausted request_too_large unsupported_media_type unsupported_encoding automation_unavailable
WWW-Authenticate
required
string
Allowed value: Bearer

forbidden, source_permission_required, destination_permission_required, or cadence_not_entitled (the cadence is faster than the workspace plan’s refresh floor).

object
error
required
object
code
required
string
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor unsupported_media_type unsupported_encoding request_too_large unauthorized forbidden not_found method_not_allowed destination_not_found schedule_not_found pipeline_not_found connection_unavailable source_permission_required destination_permission_required cadence_not_entitled schedule_enable_forbidden schedule_inactive destination_conflict destination_creation_unconfirmed destination_unavailable timezone_unverified timezone_conflict schedule_conflict redrive_conflict sheet_capacity_exhausted sheet_layout_conflict credential_configuration_unavailable automation_configuration_unavailable credential_unavailable credential_busy provider_auth_failed provider_rate_limited provider_unavailable automation_unavailable
message
required
string
error
object
code
Allowed values: forbidden source_permission_required destination_permission_required schedule_enable_forbidden schedule_inactive cadence_not_entitled
error
object
code
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor unauthorized forbidden source_permission_required destination_permission_required cadence_not_entitled connection_unavailable destination_not_found method_not_allowed destination_unavailable timezone_unverified timezone_conflict schedule_conflict sheet_capacity_exhausted request_too_large unsupported_media_type unsupported_encoding automation_unavailable

connection_unavailable or destination_not_found in this workspace.

object
error
required
object
code
required
string
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor unsupported_media_type unsupported_encoding request_too_large unauthorized forbidden not_found method_not_allowed destination_not_found schedule_not_found pipeline_not_found connection_unavailable source_permission_required destination_permission_required cadence_not_entitled schedule_enable_forbidden schedule_inactive destination_conflict destination_creation_unconfirmed destination_unavailable timezone_unverified timezone_conflict schedule_conflict redrive_conflict sheet_capacity_exhausted sheet_layout_conflict credential_configuration_unavailable automation_configuration_unavailable credential_unavailable credential_busy provider_auth_failed provider_rate_limited provider_unavailable automation_unavailable
message
required
string
error
object
code
Allowed values: not_found destination_not_found schedule_not_found pipeline_not_found connection_unavailable
error
object
code
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor unauthorized forbidden source_permission_required destination_permission_required cadence_not_entitled connection_unavailable destination_not_found method_not_allowed destination_unavailable timezone_unverified timezone_conflict schedule_conflict sheet_capacity_exhausted request_too_large unsupported_media_type unsupported_encoding automation_unavailable

method_not_allowed — use the method named in Allow.

object
error
required
object
code
required
string
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor unsupported_media_type unsupported_encoding request_too_large unauthorized forbidden not_found method_not_allowed destination_not_found schedule_not_found pipeline_not_found connection_unavailable source_permission_required destination_permission_required cadence_not_entitled schedule_enable_forbidden schedule_inactive destination_conflict destination_creation_unconfirmed destination_unavailable timezone_unverified timezone_conflict schedule_conflict redrive_conflict sheet_capacity_exhausted sheet_layout_conflict credential_configuration_unavailable automation_configuration_unavailable credential_unavailable credential_busy provider_auth_failed provider_rate_limited provider_unavailable automation_unavailable
message
required
string
error
object
code
Allowed value: method_not_allowed
error
object
code
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor unauthorized forbidden source_permission_required destination_permission_required cadence_not_entitled connection_unavailable destination_not_found method_not_allowed destination_unavailable timezone_unverified timezone_conflict schedule_conflict sheet_capacity_exhausted request_too_large unsupported_media_type unsupported_encoding automation_unavailable
Allow
required
string
Allowed value: POST

destination_unavailable, timezone_unverified, timezone_conflict, schedule_conflict, or sheet_capacity_exhausted.

object
error
required
object
code
required
string
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor unsupported_media_type unsupported_encoding request_too_large unauthorized forbidden not_found method_not_allowed destination_not_found schedule_not_found pipeline_not_found connection_unavailable source_permission_required destination_permission_required cadence_not_entitled schedule_enable_forbidden schedule_inactive destination_conflict destination_creation_unconfirmed destination_unavailable timezone_unverified timezone_conflict schedule_conflict redrive_conflict sheet_capacity_exhausted sheet_layout_conflict credential_configuration_unavailable automation_configuration_unavailable credential_unavailable credential_busy provider_auth_failed provider_rate_limited provider_unavailable automation_unavailable
message
required
string
error
object
code
Allowed values: destination_conflict destination_creation_unconfirmed destination_unavailable timezone_unverified timezone_conflict schedule_conflict redrive_conflict sheet_capacity_exhausted sheet_layout_conflict
error
object
code
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor unauthorized forbidden source_permission_required destination_permission_required cadence_not_entitled connection_unavailable destination_not_found method_not_allowed destination_unavailable timezone_unverified timezone_conflict schedule_conflict sheet_capacity_exhausted request_too_large unsupported_media_type unsupported_encoding automation_unavailable

Request JSON exceeds 4096 bytes.

object
error
required
object
code
required
string
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor unsupported_media_type unsupported_encoding request_too_large unauthorized forbidden not_found method_not_allowed destination_not_found schedule_not_found pipeline_not_found connection_unavailable source_permission_required destination_permission_required cadence_not_entitled schedule_enable_forbidden schedule_inactive destination_conflict destination_creation_unconfirmed destination_unavailable timezone_unverified timezone_conflict schedule_conflict redrive_conflict sheet_capacity_exhausted sheet_layout_conflict credential_configuration_unavailable automation_configuration_unavailable credential_unavailable credential_busy provider_auth_failed provider_rate_limited provider_unavailable automation_unavailable
message
required
string
error
object
code
Allowed value: request_too_large
error
object
code
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor unauthorized forbidden source_permission_required destination_permission_required cadence_not_entitled connection_unavailable destination_not_found method_not_allowed destination_unavailable timezone_unverified timezone_conflict schedule_conflict sheet_capacity_exhausted request_too_large unsupported_media_type unsupported_encoding automation_unavailable

Use application/json with no Content-Encoding other than identity.

object
error
required
object
code
required
string
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor unsupported_media_type unsupported_encoding request_too_large unauthorized forbidden not_found method_not_allowed destination_not_found schedule_not_found pipeline_not_found connection_unavailable source_permission_required destination_permission_required cadence_not_entitled schedule_enable_forbidden schedule_inactive destination_conflict destination_creation_unconfirmed destination_unavailable timezone_unverified timezone_conflict schedule_conflict redrive_conflict sheet_capacity_exhausted sheet_layout_conflict credential_configuration_unavailable automation_configuration_unavailable credential_unavailable credential_busy provider_auth_failed provider_rate_limited provider_unavailable automation_unavailable
message
required
string
error
object
code
Allowed values: unsupported_media_type unsupported_encoding
error
object
code
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor unauthorized forbidden source_permission_required destination_permission_required cadence_not_entitled connection_unavailable destination_not_found method_not_allowed destination_unavailable timezone_unverified timezone_conflict schedule_conflict sheet_capacity_exhausted request_too_large unsupported_media_type unsupported_encoding automation_unavailable

rate_limited — the key’s or its workspace’s per-plan request allowance for this route’s class is used up. It is answered after authentication, on every API-key operation in this document and on MCP, and never on /health. A download link is limited the same way, after its lookup, by the key that issued it and the export’s workspace. Retry-After is the window in seconds and RateLimit-Limit is the limit of the bucket that refused. No remaining count is returned. The limits themselves are not published here.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: rate_limited
Retry-After
required
string
/^[1-9][0-9]*$/
RateLimit-Limit
required
string
/^[1-9][0-9]*$/

automation_unavailable.

object
error
required
object
code
required
string
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor unsupported_media_type unsupported_encoding request_too_large unauthorized forbidden not_found method_not_allowed destination_not_found schedule_not_found pipeline_not_found connection_unavailable source_permission_required destination_permission_required cadence_not_entitled schedule_enable_forbidden schedule_inactive destination_conflict destination_creation_unconfirmed destination_unavailable timezone_unverified timezone_conflict schedule_conflict redrive_conflict sheet_capacity_exhausted sheet_layout_conflict credential_configuration_unavailable automation_configuration_unavailable credential_unavailable credential_busy provider_auth_failed provider_rate_limited provider_unavailable automation_unavailable
message
required
string
error
object
code
Allowed values: credential_configuration_unavailable automation_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable
error
object
code
Allowed values: invalid_request invalid_json invalid_schedule cadence_below_source_floor unauthorized forbidden source_permission_required destination_permission_required cadence_not_entitled connection_unavailable destination_not_found method_not_allowed destination_unavailable timezone_unverified timezone_conflict schedule_conflict sheet_capacity_exhausted request_too_large unsupported_media_type unsupported_encoding automation_unavailable