Documents

Download documents as ZIP

POST
/documents/bulk-download

Assemble up to 50 documents into a ZIP in temporary storage and return a presigned URL valid for 30 minutes. The archive is a regenerable artifact — call again rather than reusing an expired URL. Prefer navigate to the Space's documents area first; the in-app assistant is gated to require a prior navigate call (or force=true) before this one.

Authorization

bearerApiKey
AuthorizationBearer <token>

Create a scoped API key in the Adlass settings.

In: header

Header Parameters

X-Request-Id?string

Optional correlation identifier.

Lengthlength <= 128

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

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 POST "https://example.com/documents/bulk-download" \  -H "Content-Type: application/json" \  -d '{    "document_ids": [      "123e4567-e89b-42d3-a456-426614174000"    ]  }'
{  "presigned_url": "https://storage.example.com/invoice-2026-09.pdf?signature=example",  "zip_file_name": "adlass-documents.zip",  "file_count": 0,  "total_size_bytes": 0,  "expires_at": "2026-09-04T12:00:00Z",  "failed_document_ids": [],  "instructions_for_agent": "Upload the file with HTTP PUT to presigned_url."}