Craft Documents icon

Craft Documents

Interact with Craft Multi-Document API - manage documents, blocks, collections, and search

Document → List

AI-generated

Summary

List retrieves all documents accessible through the configured Craft API connection, optionally including metadata like last modified time, creation time, and clickable links.

Inputs

  • Fetch Metadata — Set to true to include metadata such as lastModifiedAt, createdAt, and clickableLink for each document in the response.

Output shape

a list of document objects

The list contains document data with their IDs and titles. If Fetch Metadata is enabled, metadata fields are included. The API returns all accessible documents without pagination.

Examples

Example 1: List all documents without metadata

Set Resource to Document, Operation to List, and leave Fetch Metadata unchecked.

Example 2: List all documents with metadata

Set Resource to Document, Operation to List, and enable the Fetch Metadata option in Options.

Links

Discussion