v52

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-0393116227.2 KB
google-drives

Create a Google Drive data source

Creates a new Google Drive data source and starts ingestion.

Required roles: All

post/google-drives

Request body

namestring required

Name of the Google Drive data source

folder_urlstring required

Google Drive folder URL

service_account_keystring

One-time service account key JSON (mutually exclusive with secret_id)

secret_idstring

ID of a stored secret to use (mutually exclusive with service_account_key)

rrulestring

Recurrence rule (RFC 5545 RRULE). Requires secret_id (not one-time key).

Response

Successfully created Google Drive data source

idstring required

Google Drive data source ID

ingestion_setting_idstring

Google Drive ingestion setting ID

namestring required

Name of the Google Drive ingestion setting

folder_urlstring required

Google Drive folder URL

creation_timeinteger

Creation time (Unix timestamp in seconds)

status'unknown' | 'queued' | 'not_started' | 'managed' | 'starting' | 'started' | 'success' | 'failure' | 'canceling' | 'canceled' | 'deleting' | 'delete_job_failure' required

Job status

start_timeinteger

Job start time (Unix timestamp in seconds)

end_timeinteger

Job end time (Unix timestamp in seconds)