n8n Public API
The n8n public REST API provides programmatic access to n8n instance resources including workflows, executions, credentials, users, tags, variables, projects, source control, audit, data tables, community packages, folders, and insights.
What You Can Do
MCP Tools
generateaudit
Generate an audit
createcredential
Create a credential
deletecredential
Delete credential by ID
testcredential
Test a credential
getcredentialschema
Show credential data schema
transfercredential
Transfer a credential to another project
getexecutions
Retrieve all executions
getexecution
Retrieve an execution
deleteexecution
Delete an execution
retryexecution
Retry an execution
stopexecution
Stop an execution
stopexecutions
Stop multiple executions
updateexecutiontags
Update tags on an execution
createtag
Create a tag
gettags
Retrieve all tags
gettag
Retrieves a tag
deletetag
Delete a tag
updatetag
Update a tag
createworkflow
Create a workflow
getworkflows
Retrieve all workflows
getworkflow
Retrieves a workflow
deleteworkflow
Delete a workflow
updateworkflow
Update a workflow
getworkflowversion
Retrieves a specific version of a workflow
activateworkflow
Activate a workflow
deactivateworkflow
Deactivate a workflow
archiveworkflow
Archive a workflow
unarchiveworkflow
Unarchive a workflow
transferworkflow
Transfer a workflow to another project
getworkflowtags
Get workflow tags
updateworkflowtags
Update tags of a workflow
getusers
Retrieve all users
createusers
Create multiple users
getuser
Get user by ID/Email
deleteuser
Delete a user
changeuserrole
Change a user's global role
sourcecontrolpull
Pull changes from the remote repository
createvariable
Create a variable
getvariables
Retrieve variables
deletevariable
Delete a variable
updatevariable
Update a variable
listdatatables
List all data tables
createdatatable
Create a data table
getdatatable
Get a data table
deletedatatable
Delete a data table
updatedatatable
Update a data table
listdatatablerows
List rows in a data table
insertdatatablerows
Insert rows into a data table
updatedatatablerows
Update rows in a data table
upsertdatatablerows
Upsert rows in a data table
deletedatatablerows
Delete rows in a data table
listdatatablecolumns
List columns in a data table
adddatatablecolumn
Add a column to a data table
deletedatatablecolumn
Delete a column from a data table
createproject
Create a project
getprojects
Retrieve projects
deleteproject
Delete a project
updateproject
Update a project
getprojectusers
Get project users
addprojectusers
Add users to a project