action appwrite_database_list_documents { label: "List Documents" description: "Get a list of all the user documents. You can use the query params to filter your results. On admin mode, this endpoint will return a list of all of the project's documents. [Learn more about different API modes](/docs/admin)." provider: appwrite method: GET path: "/database/collections/{collectionId}/documents" encoding: json input: { type: "object" properties: { collectionId: { type: "string" } filters: { type: "array" items: { type: "string" } } limit: { type: "integer" format: "int32" } offset: { type: "integer" format: "int32" } orderCast: { type: "string" } orderField: { type: "string" } orderType: { type: "string" } search: { type: "string" } } required: ["collectionId"] additionalProperties: false } output: { type: "object" description: "Documents List" required: ["documents", "sum"] properties: { documents: { type: "array" description: "List of documents." items: { type: "object" description: "Document" required: ["$id", "$collection", "$permissions"] properties: { "$collection": { type: "string" description: "Collection ID." } "$id": { type: "string" description: "Document ID." } "$permissions": { type: "object" description: "Document permissions." items: { type: "object" description: "Permissions" required: ["read", "write"] properties: { read: { type: "array" description: "Read permissions." items: { type: "string" } } write: { type: "array" description: "Write permissions." items: { type: "string" } } } } } } } } sum: { type: "integer" format: "int32" description: "Total sum of items in the list." } } } }