The idea is:
Extend the current Public API (/api/v1/) to support n8n Data Tables.
Currently, the API supports workflows, credentials, executions, and variables, but lacks endpoints for the new Data Tables feature.
I would like to see endpoints similar to existing resources, enabling full CRUD operations:
GET /data-tables- List all data tables.GET /data-tables/{id}- Get table schema and content.POST /data-tables- Create a new table.PUT /data-tables/{id}- Update table structure or data.DELETE /data-tables/{id}- Delete a table.
My use case:
- Automated Backups: I currently backup my workflows and credentials via the API. I want to do the same for Data Tables (schema and data) to have a complete backup of my n8n instance logic without relying on full database dumps.
- CI/CD & Migration: Moving projects between environments (e.g., from a Local/Staging instance to Production). I need to programmatically recreate the necessary Data Tables on the target instance.
- External Data Management: Populating or querying Data Tables from external scripts/tools directly, without having to create specific “maintenance workflows” inside n8n just to act as an API gateway.
I think it would be beneficial to add this because:
- Consistency: Data Tables are becoming a core part of n8n, similar to Workflows and Credentials. Excluding them from the Public API makes the API feel incomplete.
- Automation: It enables true “Infrastructure as Code” practices for n8n users who manage their instances via scripts.
- Efficiency: It removes the need to manually export/import tables via the UI or create workaround workflows for data manipulation.
Any resources to support this?
- Current Public API documentation: https://docs.n8n.io/api/v1/
- n8n Data Tables documentation: Data tables | n8n Docs
Are you willing to work on this?
The technical stack isn’t my area of expertise, but I would be happy to help with testing/debugging once it’s implemented.