An API for everything you can do in the CMS
Automate content ops with or without agents
The Wagtail API lets other applications and integrations read, create, edit, and publish your content, with the same permissions and rules as the Admin interface. You can make bulk SEO improvements with a script, import content from an old CMS, or give an AI agent a reliable way to work with your site.
-
Documented and typed, with an OpenAPI schema
The API generates an OpenAPI schema from your site’s own models. That gives you per-type schemas for reading, writing, and discovering exactly which fields and blocks your content supports.
How the API came together
We’ve written a lot about the API as we’ve built it, with more details about design decisions and tradeoffs.
- CMS with AI, not AI CMS: Wagtail 8.0’s new API: why we spent a release on the API instead of the admin.
- Prototyping a new CLI for Wagtail: improving the ease of use for common operations.
- Experiments with MCP in Wagtail: testing another usage paradigm.
- Demo time! Wagtail API in action: Content ops with DeepSeek Harness
- Our progress on DX with AI: a recap on the wider DX story, which the API contributes to.
- DRF vs. Django Ninja: Wagtail 8.1’s API schema: looking at the schema in more depth.