Skip to main content
GET
Retrieve and stream the raw document file directly from encrypted Cloudflare R2 / AWS S3 object storage by its document UUID.

Authentication

This endpoint requires Bearer token authentication.

Input parameters

string
required
Unique UUID identifier of the document to download. Example: c5d1e2f3-4a5b-6c7d-8e9f-0123456789ab.
string
required
Bearer token for authentication. Format: Bearer <token>.

Response Headers

The response is returned as binary stream data with the following HTTP headers:

Previous
Delete document
DELETE /api/v1/knowledge-base/{document_id}
Next