# API

Reading and writing tasks over the GraphQL API: keys, queries, and automation.

- [Task automation: the CLI, GraphQL API, or MCP](/blog/automate-tasks-cli-api): Which Done Bear interface to use for cron jobs, CI, direct HTTP integrations, or AI agents, with working examples for the CLI, the GraphQL API, and MCP.

---

Every Done Bear page is listed at https://donebear.com/llms.txt. Any page has a markdown copy at its URL plus `.md`. Start from the map rather than guessing a path.
