Index GCS File
Index a single file from a GCS bucket into a collection.
Headers:
- Authorization: Bearer {api_key} - Captain API key for authentication
- X-Organization-ID: Organization UUID
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
file_uri
GCS URI format: gs://bucket-name/path/to/file.pdf
service_account_json
Response
Indexing Job Started
job_id
status
Allowed values: