Documents
List Documents
List accessible documents.
request.document_filters may include the following operators in addition to equality checks (which also match scalars inside JSON arrays): $and, $or, $nor, $not, $in, $nin, $exists, $regex, and $contains. Filters can be nested arbitrarily. Regex filters accept the optional i flag; $contains performs substring matches with optional case_sensitive overrides. Example:
{
"$and": [
{"department": "sales"},
{"$or": [{"status": "approved"}, {"priority": {"$in": ["high", "urgent"]}}]}
]
}
Args: request: Request body containing filters and pagination auth: Authentication context folder_name: Optional folder to scope the operation to end_user_id: Optional end-user ID to scope the operation to
Returns: List[Document]: List of accessible documents
post/documents
Query parameters
end_user_idstring nullable
Headers
authorizationstring
Request body
Response
Successful Response