List Docs
Changed onFlexible document listing with aggregates, projections, and advanced pagination.
Alias: /documents and /documents/list_docs share this handler.
Supported operators: $and, $or, $nor, $not, $eq, $ne, $gt, $gte, $lt, $lte, $in, $nin, $exists, $type, $regex, $contains.
Implicit equality (backwards compatible, JSONB containment):
{"status": "active"}
Explicit operators (typed comparisons for number, decimal, datetime, date):
{"priority": {"$gte": 40}, "end_date": {"$lt": "2025-01-01"}}
Use document_filters with a filename key to filter the filename column:
{"filename": {"$regex": {"pattern": "^report_.*\.pdf$", "flags": "i"}}}
Use folder_name and end_user_id query parameters to scope system metadata.
Request
- Base URLhttps://api.morphik.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.morphik.ai/documents
- Authnone declared
Query parameters
Folder scope depth: 0/None = exact, -1 = all descendants, n > 0 = include descendants up to n levels.
Headers
Request body
Response
Successful Response
Changes
- breaking
the response's body type changed from
arraytoobjectfor status - warning
the
request property's min was set to0.00 - info
api operation id
list_documents_documents_postremoved and replaced withlist_docs_documents_post - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
headerrequest parameterauthorizationlist-of-types was widened by adding typesnull - info
for the
headerrequest parameterauthorization, the type was generalized fromstringto no type - info
the
request property default value changed from1000to100 - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- warning
removed the optional property
/from the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- warning