cURL
curl --request GET \ --url https://api.anam.ai/v1/knowledge/documents/{id}/download \ --header 'Authorization: Bearer <token>'
{ "downloadUrl": "https://cdn.anam.ai/knowledge/00000000-0000-0000-0000-000000000000.pdf?X-Amz-Signature=…", "filename": "getting-started.pdf" }
Get a presigned download URL for a knowledge document
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Unique identifier of the knowledge document
Successfully generated download URL
Was this page helpful?