List Documents
list_docsRetrieve all documents in an AFFiNE workspace, including deleted items flagged in trash. Pagination supported with cursor or offset.
Instructions
List documents in a workspace (GraphQL). Each doc includes an inTrash flag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor from pageInfo.endCursor for fetching the next page. | |
| first | No | Maximum number of items to return from the AFFiNE pagination connection. | |
| offset | No | Zero-based offset used by AFFiNE pagination. Do not combine with after unless the AFFiNE API requires it. | |
| workspaceId | No | AFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured. |