Index GCS Bucket

Index all files from a Google Cloud Storage bucket into a collection. Headers: - Authorization: Bearer {api_key} - Captain API key for authentication - X-Organization-ID: Organization UUID - Idempotency-Key: UUID for request deduplication (optional)

Path parameters

collection_namestringRequired
Name of the collection to index into

Headers

AuthorizationstringRequired
Captain API key for authentication
X-Organization-IDstringRequired
Organization UUID

Request

This endpoint expects an object.
bucket_namestringRequired
service_account_jsonstringRequired
max_filesintegerOptional

Response

Indexing Job Started
job_idstring
statusenum
Allowed values: