What is an API?
An API (Application Programming Interface) lets different applications communicate with each other securely. In practice, this means you can use Craft’s API to:- Send or receive data from other services
- Trigger actions in Craft based on events in another app
- Build custom tools, dashboards, or automations
- Connect Craft to AI assistants like Claude or ChatGPT through MCP or other integration methods
How Craft’s API Works
Create an API Connection from the Imagine tab in the sidebar to share the right parts of your workspace with external tools. You can choose to:- Connect all of your daily notes, or
- Create a custom connection where you select one or more specific documents to include

The Craft API now supports full space-level access with advanced capabilities:
- Search across all documents with folder, tag, and date filtering
- Daily notes and tasks are fully accessible via API
- Create, update, and delete documents programmatically
- Collection management including schema creation and editing
- Advanced search with regex support and timezone-aware date filters
Use Cases
Here are a few examples of what you can build with the API:- A personal dashboard that updates automatically
- A task list that syncs with another productivity app
- A reading log that fetches data from an external source
- A custom AI-powered assistant tailored to your Craft document
- Automated document creation from templates
- Scheduled backups or exports
- Integration with team communication tools