indexing
Index R2 File
Index a single file from a Cloudflare R2 bucket into a collection.
Headers:
- Authorization: Bearer {api_key} - Captain API key for authentication
- X-Organization-ID: Organization UUID
Args: collection_name: Name of the collection (path parameter) body: R2 file configuration with file_uri (r2://bucket/path/to/file.pdf)
Returns: { job_id, status: "pending" }
post/v2/collections/{collection_name}/index/r2/file
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.