Index S3 Bucket
Index all files from an S3 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)
Returns a job_id for tracking the indexing progress.
Path parameters
collection_name
Name of the collection to index into
Headers
Authorization
Captain API key for authentication
X-Organization-ID
Organization UUID
Idempotency-Key
UUID for request deduplication
Request
This endpoint expects an object.
bucket_name
aws_access_key_id
aws_secret_access_key
bucket_region
max_files
Response
Indexing Job Started
job_id
status
Allowed values: