indexing
Index GCS Directory
Index all files from a specific directory in a GCS bucket.
Headers:
- Authorization: Bearer {api_key} - Captain API key for authentication
- X-Organization-ID: Organization UUID
- Idempotency-Key: UUID for request deduplication (optional)
Args: collection_name: Name of the collection (path parameter) body: GCS directory configuration with directory_path
Returns: { job_id, status: "pending" }
post/v2/collections/{collection_name}/index/gcs/directory
Path parameters
collection_namestring required
Headers
authorizationstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.