List documents
const url = 'https://your-orimora-instance.example.com/api/v1/documents?status=published&deleted=true&limit=25&offset=0&format=markdown';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://your-orimora-instance.example.com/api/v1/documents?status=published&deleted=true&limit=25&offset=0&format=markdown' \ --header 'Authorization: Bearer <token>'Returns a paginated list of documents. Use updatedSince for incremental sync (e.g. Obsidian plugin).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Filter by collection
Filter by collection
Filter to direct children of this document
Filter to direct children of this document
Exact title match, case-insensitive — for targeted existence lookups (used by the Obsidian plugin)
Exact title match, case-insensitive — for targeted existence lookups (used by the Obsidian plugin)
Filter by publish status
Filter by publish status
Filter to documents carrying this tag (by name, case-insensitive)
Filter to documents carrying this tag (by name, case-insensitive)
When true, lists the trash (soft-deleted documents) instead of active ones
When true, lists the trash (soft-deleted documents) instead of active ones
ISO 8601 datetime. When set, returns only documents updated after this timestamp. Raises the default limit to 500.
ISO 8601 datetime. When set, returns only documents updated after this timestamp. Raises the default limit to 500.
When markdown and updatedSince is set, includes a markdownText field per document
When markdown and updatedSince is set, includes a markdownText field per document
Responses
Section titled “ Responses ”Paginated list of documents
object
Total number of matching records
Page size
Page offset
object
Document title
Optional emoji prefix for the document icon
Plain-text content (read-only, derived from body)
Null = draft
The document’s unrestricted tag names (restricted/ACL tags are excluded)
object
object
Document title
Optional emoji prefix for the document icon
Plain-text content (read-only, derived from body)
Null = draft
The document’s unrestricted tag names (restricted/ACL tags are excluded)
Example generated
{ "total": 1, "limit": 1, "offset": 1, "data": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "title": "example", "emoji": "example", "text": "example", "collectionId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "parentDocumentId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "teamId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "createdById": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "lastModifiedById": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "publishedAt": "2026-04-15T12:00:00Z", "archivedAt": "2026-04-15T12:00:00Z", "deletedAt": "2026-04-15T12:00:00Z", "revision": 1, "tags": [ "example" ], "sortOrder": 1, "fullWidth": true, "collaborativeId": "example", "createdAt": "2026-04-15T12:00:00Z", "updatedAt": "2026-04-15T12:00:00Z" } ]}Unauthorized
object
Human-readable error message
Example generated
{ "error": "example"}