- Sync
- Async
Parameters
identifiers(List[str], optional): List of folder IDs, names, or canonical paths (e.g.,/projects/alpha/specs). If None, returns all accessible folders.include_document_count(bool, optional): Include total document count. Defaults to True.include_status_counts(bool, optional): Include document counts grouped by processing status. Defaults to False.include_documents(bool, optional): Include paginated document list. Defaults to False.document_filters(Dict[str, Any], optional): Optional metadata filters for documents.document_skip(int, optional): Number of documents to skip for pagination. Defaults to 0.document_limit(int, optional): Maximum documents per folder. Defaults to 25.document_fields(List[str], optional): Optional list of fields to project for documents (dot notation supported).sort_by(str, optional): Field to sort documents by. Options: “created_at”, “updated_at”, “filename”, “external_id”.sort_direction(str, optional): Sort direction. Options: “asc”, “desc”.
Returns
FolderDetailsResponse: Response containing detailed folder information
Metadata Filters
Filters follow the same JSON syntax across the API. See the Metadata Filtering guide for supported operators and typed comparisons.Examples
- Sync
- Async
Response Structure
FolderDetailsResponse
folders(List[FolderDetails]): List of folder details
FolderDetails
folder(FolderInfo): Folder informationdocument_info(FolderDocumentInfo | None): Document statistics and list
FolderInfo includes hierarchy fields: full_path, parent_id, depth, and child_count, plus description/name metadata.
FolderDocumentInfo
total_count(int | None): Total document count (wheninclude_document_count=True)status_counts(Dict[str, int] | None): Document counts by status (wheninclude_status_counts=True)documents(List[Document] | None): Paginated document list (wheninclude_documents=True)
Notes
- For a lightweight summary, use
get_folders_summaryinstead. - The
identifiersparameter accepts both folder IDs and folder names. - Document pagination uses
document_skipanddocument_limitto control the document list. - Use
document_fieldsto reduce response size by projecting only needed fields.

