Get a presigned download URL
Mint a presigned GET URL for one document. Requires download permission on the owning Space. Prefer navigate to the document first; the in-app assistant is gated to require a prior navigate call (or force=true, an accepted but undeclared input) before this one.
Authorization
bearerApiKey Create a scoped API key in the Adlass settings.
In: header
Path Parameters
Resource identifier: document_id.
uuidQuery Parameters
Skip the navigate-first check and fetch the URL directly.
falseImages only: thumb (640 px) and display (2048 px) return a WebP preview; while it is being generated the original is returned. The result's variant names the file actually served.
"original"Value in
- "original"
- "thumb"
- "display"
Header Parameters
Optional correlation identifier.
length <= 128Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/documents/123e4567-e89b-42d3-a456-426614174000/download"{ "document_id": "123e4567-e89b-42d3-a456-426614174000", "file_name": "invoice-2026-09.pdf", "content_type": "application/pdf", "variant": "original", "presigned_url": "https://storage.example.com/invoice-2026-09.pdf?signature=example", "instructions_for_agent": "Upload the file with HTTP PUT to presigned_url."}