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_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
file_uristringRequired

GCS URI format: gs://bucket-name/path/to/file.pdf

service_account_jsonstringRequired

Response

Indexing Job Started
job_idstring
statusenum
Allowed values: