Exports
Download a whole knowledge base as one zip.
📄️ List exports of a knowledge base
**Access:** API key scope `knowledge:write`; portal users: organization admins and owners; the knowledge base in the path must be on the key's access list.
📄️ Start an asynchronous export (original files and metadata JSON in one zip)
Free of charge. Allowed while the knowledge base is frozen or suspended, during a payment suspension and while knowledge bases are switched off on the platform — export is how your data leaves. When ready, `download_url` is a signed link valid for 24 h, a `knowledge.export.ready` webhook is sent and the requester gets an email. Zip layout: `documents/<document_id>/<original name>` plus `metadata.json` (an array of Document objects without failure details).
📄️ Get an export and its download link
**Access:** API key scope `knowledge:write`; portal users: organization admins and owners; the knowledge base in the path must be on the key's access list.
📄️ Download an export zip via its signed link
Authorized by the signed `token` alone, so the link works in a browser. If the request also carries a session or API key, it must belong to the same organization, otherwise 404. After `expires_at` → 410 `export_expired` (the zip is already deleted). Every download is recorded in the audit log.