Documents

Get a presigned download URL

GET
/documents/{document_id}/download

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
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Path Parameters

document_id*string

Resource identifier: document_id.

Formatuuid

Query Parameters

force?boolean

Skip the navigate-first check and fetch the URL directly.

Defaultfalse

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128

Response 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",  "presigned_url": "https://storage.example.com/invoice-2026-09.pdf?signature=example",  "instructions_for_agent": "Upload the file with HTTP PUT to presigned_url."}