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_name
Name of the collection to index into
Headers
Authorization
Captain API key for authentication
X-Organization-ID
Organization UUID
Request
This endpoint expects an object.
bucket_name
service_account_json
max_files
Response
Indexing Job Started
job_id
status
Allowed values: