indexing
Index GDrive
Index a Workspace user's entire Google Drive into a collection (headless).
Uses service-account domain-wide delegation to read as subject_email — no per-user OAuth. Scope to a folder or single file with the /directory or /file variants.
Headers:
- Authorization: Bearer {api_key}
- X-Organization-ID: Organization UUID
- Idempotency-Key: UUID for request deduplication (optional)
Returns: { job_id, status: "pending" }
post/v2/collections/{collection_name}/index/gdrive
Path parameters
collection_namestring required
Headers
authorizationstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.