API reference
Create or verify the enrolled native Sheets destination
POST /v1/pilot/destinations
Requires sync:write. Accepts only the destination ID. The service reserves one creation attempt before calling Google, persists the returned workbook ID and verifies its reserved layout. An active replay verifies and returns the existing workbook without creating another. A known paused workbook may retry verification; an unknown creation outcome remains paused and returns destination_creation_unconfirmed for operator review.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”The destination and runtime drive.file grant must already be enrolled by an operator. No credentials are accepted by this route.
object
Responses
Section titled “ Responses ”Create or verify the enrolled native Sheets destination.
object
The URL contains exactly the returned spreadsheetId.
invalid_json for malformed JSON; invalid_request for a query delimiter or non-exact destination body.
object
object
object
object
Missing, expired, revoked or reassigned key, including changes before response release.
object
object
object
object
Headers
Section titled “Headers ”forbidden for key scope; destination_permission_required when the current Sheets grant is absent.
object
object
object
object
destination_not_found in this workspace.
object
object
object
object
method_not_allowed — use the method named in Allow.
object
object
object
object
Headers
Section titled “Headers ”destination_conflict, destination_creation_unconfirmed, or sheet_layout_conflict.
object
object
object
object
Request JSON exceeds 4096 bytes.
object
object
object
object
Use application/json with no Content-Encoding other than identity.
object
object
object
object
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
object
object
Headers
Section titled “Headers ”Google authentication or workbook verification read failed; no raw provider text is returned.
object
object
object
object
credential_configuration_unavailable, credential_unavailable, credential_busy, provider_rate_limited, or automation_unavailable.