indexing
Index URL
Index documents from public URL(s) into a collection.
Accepts either a single url string or a urls array of strings. Documents are downloaded from the provided URLs and processed through the same pipeline as cloud storage indexing.
Supported formats: PDF, TXT, DOCX, CSV, XLSX, and other document types.
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: URL configuration with url or urls
Returns: { job_id, status: "pending" }
post/v2/collections/{collection_name}/index/url
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.