Dirigible API reference
Endpoints · Documents
List documents
Docs / Documents / List documents
GET
https://node.dirigible.app/v1/documentsReturns the PDF/EPUB documents in your workspace, with format and size.
Authentication
Bearer API key required.
Method
GET · JSON
Sync
Changes appear live in the app.
Response fields
idstringDocument id.titlestringTitle.formatstringpdf | epub.fileSizeintegerBytes.Status codes
200Success. Returns the resource (or an array); a delete returns { "ok": true }.
401Missing or invalid API key.
404The resource wasn't found (or isn't yours).
400Malformed request body.
curl "https://node.dirigible.app/v1/documents" \
-H "Authorization: Bearer dg_your_key"curlruns against the live API
Sample response
[
{ "id": "d1", "type": "document", "title": "Spec v2", "format": "pdf", "fileSize": 482113 }
]json