n8n MCP server
202 operations0 webhooks
Manage an n8n instance: workflows, executions, credentials, data tables, tags, variables, projects, users, AI agents and instance settings (202 operations).
Try n8n with your agent
Connect n8n, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.
Using Corsair, show me what you can do in n8n on my account, then run one read-only example and show me the result.
n8n tools and triggers
Tools are what your agent can do in n8n through Corsair's MCP server. Triggers are the n8n events a routine can start from.
Promotions
- Environments.Add ProjectWrite
Beta: Link a project to a promotion environment. Beta — breaking changes may still occur without major version bump. Links a team project to a project-scoped environment. A project can have one environment for each direction. A direction without a project environment uses the instance environment. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.environments.addProject
- Environments.ApplyDestructive
Beta: Apply a package to the instance. Beta — breaking changes may still occur without major version bump. Checks the full package at the configured branch tip. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.environments.apply
- Environments.ConnectWrite
Beta: Connect an environment. Beta — breaking changes may still occur without major version bump. Prepares the environment on the instance that handles the request. For a Git provider, this clones the configured branch into local storage. Safe to call repeatedly. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.environments.connect
- Environments.Continue ApplyDestructive
Beta: Continue Apply after binding setup. Beta — breaking changes may still occur without major version bump. Rechecks the configured source and current target bindings. Send expectedSource with the environmentId, branchName, and full commitSha from the reviewed Apply result. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.environments.continueApply
- Environments.CreateWrite
Beta: Create a promotion environment. Beta — breaking changes may still occur without major version bump. Creates an environment for one direction on an existing provider. The settings must match the direction. A GitLab remote URL must belong to the saved provider. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.environments.create
- Environments.DeleteDestructive
Beta: Delete a promotion environment. Beta — breaking changes may still occur without major version bump. Deletes the environment with its project links and local checkout. Its provider is kept. Nothing in the Git repository changes. The open promotion reviews of the environment close in n8n. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403. Cannot be undone.
promotions.environments.delete
- Environments.DisconnectWrite
Beta: Remove an environment's local checkout. Beta — breaking changes may still occur without major version bump. Removes the local checkout on this instance, asks the other main instances to remove theirs, and keeps the environment, its credentials, and the trusted SSH host keys. Another operation on the same environment returns 423. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.environments.disconnect
- Environments.GetRead-only
Beta: Retrieve a promotion environment. Beta — breaking changes may still occur without major version bump. Returns the environment with its provider summary and the state of its local checkout. Requires the promotions:readEnvironments API key scope. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.environments.get
- Environments.Get Change DetailsRead-only
Beta: Read the content of resources in the whole-instance Apply preview. Beta — breaking changes may still occur without major version bump. Returns the content before and after the change for up to 50 resources of the whole-instance Apply preview. Send the commitSha and the resource key values from the preview. The branch side is read at that commit. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403. Added in n8n 2.50; older instances answer 404.
promotions.environments.getChangeDetails
- Environments.ListRead-only
Beta: List promotion environments. Beta — breaking changes may still occur without major version bump. Returns a cursor-paginated list of environments. Filter by scope and direction for the instance environments, or by providerId to see which environments a provider edit affects. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.environments.list
- Environments.List ChangesRead-only
Beta: Preview the Apply of the whole instance. Beta — breaking changes may still occur without major version bump. Shows what applying the branch tip of an instance Apply environment changes on this instance, for every project of the package. resources and dependencies have the same shape as the project change preview. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403. Added in n8n 2.50; older instances answer 404.
promotions.environments.listChanges
- Environments.List Missing ProjectsRead-only
Beta: List package projects that are missing on this instance. Beta — breaking changes may still occur without major version bump. Reads the package at the Apply branch tip and returns its team projects whose IDs do not exist on this instance. Projects are matched by ID, not by name. An ID that a personal project uses counts as existing. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.environments.listMissingProjects
- Environments.List ProjectsRead-only
Beta: List projects linked to a promotion environment. Beta — breaking changes may still occur without major version bump. Requires the promotions:readEnvironments API key scope. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.environments.listProjects
- Environments.PromoteDestructive
Beta: Promote all team projects. Beta — breaking changes may still occur without major version bump. Exports every team project, commits it, and pushes to the configured base branch or a new timestamped branch. When the requireApproval setting is alwaysRequired, it always pushes a new branch, whatever the environment setting is. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.environments.promote
- Environments.Remove ProjectDestructive
Beta: Unlink a project from a promotion environment. Beta — breaking changes may still occur without major version bump. Requires the promotions:manageEnvironments API key scope. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403. Cannot be undone.
promotions.environments.removeProject
- Environments.UpdateWrite
Beta: Update a promotion environment. Beta — breaking changes may still occur without major version bump. Updates the name, provider, remote, or settings. A remote replaces the whole saved remote, and settings replace the whole saved settings. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.environments.update
- Projects.ApplyDestructive
Beta: Apply a selection of a project's workflows and folders. Beta — breaking changes may still occur without major version bump. Applies selected changes from the project's Apply branch. The project's name, icon, description and telemetry tags always come from the branch, so a request without workflowIds and folderIds applies only the project. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.projects.apply
- Projects.Continue ApplyDestructive
Beta: Continue applying a selection after binding setup. Beta — breaking changes may still occur without major version bump. Rechecks the project's Apply source and the current bindings for the selection. Resend the full selection: workflowIds and folderIds. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.projects.continueApply
- Projects.Get Change DetailsRead-only
Beta: Read the content of changed resources. Beta — breaking changes may still occur without major version bump. Returns the content before and after the change for up to 50 resources of a change preview. Send the commitSha and the resource key values from the preview. The branch side is read at that commit. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.projects.getChangeDetails
- Projects.List ChangesRead-only
Beta: Preview the changes of a project in one direction. Beta — breaking changes may still occur without major version bump. Compares a team project on this instance with the branch of its promotion environment for that direction. For promote the preview is what a promotion sends to the branch, and the key needs the promotions:promote scope. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.projects.listChanges
- Projects.PromoteDestructive
Beta: Promote a selection of a project's workflows and folders. Beta — breaking changes may still occur without major version bump. Promotes a chosen set of a team project's workflows and folders to the branch of the project's Promote environment. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.projects.promote
- Providers.CreateWrite
Beta: Create a promotion provider. Beta — breaking changes may still occur without major version bump. Creates a provider and its authentication material. A Git host provider validates authenticated API access before it saves. For GitLab, the service uses n8n as the Git transport username. Its auth.username is optional. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.providers.create
- Providers.DeleteDestructive
Beta: Delete a promotion provider. Beta — breaking changes may still occur without major version bump. A provider used by an environment cannot be deleted. Requires the promotions:manageProviders API key scope. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403. Cannot be undone.
promotions.providers.delete
- Providers.GetRead-only
Beta: Retrieve a promotion provider. Beta — breaking changes may still occur without major version bump. Returns the provider with its public configuration. Secrets are never returned. Requires the promotions:readProviders API key scope. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.providers.get
- Providers.ListRead-only
Beta: List promotion providers. Beta — breaking changes may still occur without major version bump. Returns a cursor-paginated list of providers, without their public configuration. Requires the promotions:readProviders API key scope. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.providers.list
- Providers.List BranchesRead-only
Beta: List branches of a promotion repository. Beta — breaking changes may still occur without major version bump. Lists branches of the selected GitLab repository and identifies its default branch. Pass the URL-encoded fullPath from repository discovery, or the repositoryPath of a saved GitLab environment, as repositoryId. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.providers.listBranches
- Providers.List RepositoriesRead-only
Beta: List repositories of a promotion provider. Beta — breaking changes may still occur without major version bump. Lists repositories where the GitLab token identity has at least the Developer role. The token also needs Git write scope for promotions. Protected branches can restrict pushes. Use remoteUrl as an environment remote. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.providers.listRepositories
- Providers.UpdateWrite
Beta: Update a promotion provider. Beta — breaking changes may still occur without major version bump. Renames the provider, and replaces its credentials when auth is sent. A Git host provider can also update its base URL. A different API destination requires auth in the same request. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403.
promotions.providers.update
- Reviews.GetRead-only
Beta: Retrieve a promotion review. Beta — breaking changes may still occur without major version bump. Returns one promotion review with the same fields as the list. Reads the merge request from the Git host now. Returns 404 when the Inbox of the key owner does not show the review. Requires the promotions:readReviews API key scope. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403. Added in n8n 2.50; older instances answer 404.
promotions.reviews.get
- Reviews.ListRead-only
Beta: List promotion reviews. Beta — breaking changes may still occur without major version bump. Returns the promotion reviews that the Inbox of the key owner shows. Instance owners and admins see all reviews. state selects the open or the closed reviews, as the Inbox tabs do. The list starts with the newest activity. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403. Added in n8n 2.50; older instances answer 404.
promotions.reviews.list
- Settings.GetRead-only
Beta: Get the promotion settings. Beta — breaking changes may still occur without major version bump. Returns who can promote, approve, and apply in their own projects, and whether every promote needs a review. Instance owners and admins can always promote, approve, and apply. Requires the securitySettings:manage API key scope. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403. Added in n8n 2.50; older instances answer 404.
promotions.settings.get
- Settings.UpdateWrite
Beta: Update the promotion settings. Beta — breaking changes may still occur without major version bump. Changes who can promote, approve, and apply in their own projects, and whether every promote needs a review. Send only the settings to change. A setting that you leave out keeps its value. Needs a licence with feat:promotions (Business or Enterprise plans): without it n8n answers 403. Added in n8n 2.50; older instances answer 404.
promotions.settings.update
Settings
- Ldap.GetRead-only
Retrieve the LDAP configuration. Retrieve the current LDAP configuration, including every field exposed in the UI. The binding admin password is redacted on read. Requires the LDAP feature to be licensed. Requires the ldap:manage API key scope. Needs a licence with feat:ldap (Business or Enterprise plans): without it n8n answers 403.
settings.ldap.get
- Ldap.List SyncsRead-only
Retrieve LDAP synchronization history. Retrieve the history of LDAP synchronizations, most recent first. Requires the LDAP feature to be licensed. Requires the ldap:sync API key scope. Needs a licence with feat:ldap (Business or Enterprise plans): without it n8n answers 403.
settings.ldap.listSyncs
- Ldap.Run SyncDestructive
Trigger an LDAP synchronization. Manually trigger an LDAP synchronization. The response returns the new sync history record. Requires the LDAP feature to be licensed. Requires the ldap:sync API key scope. Needs a licence with feat:ldap (Business or Enterprise plans): without it n8n answers 403.
settings.ldap.runSync
- Ldap.UpdateDestructive
Set the LDAP configuration. Replace the LDAP configuration with the provided full object (partial updates are not supported). For bindingAdminPassword, submit the blanking placeholder from a prior GET to keep the stored password unchanged. Requires the LDAP feature to be licensed. Needs a licence with feat:ldap (Business or Enterprise plans): without it n8n answers 403.
settings.ldap.update
- Log Streaming.Create DestinationWrite
Create a log streaming destination. Create a log streaming destination. The destination takes effect exactly as it would from the UI, using the same validation. Requires the Log Streaming feature to be licensed. Needs a licence with feat:logStreaming (Business or Enterprise plans): without it n8n answers 403.
settings.logStreaming.createDestination
- Log Streaming.Delete DestinationDestructive
Delete a log streaming destination. Remove a log streaming destination. Requires the Log Streaming feature to be licensed. When destinations are managed via environment variables, the delete is rejected with 409 and nothing is removed; reads still return the current values. Requires the eventBusDestination:delete API key scope. Needs a licence with feat:logStreaming (Business or Enterprise plans): without it n8n answers 403. Cannot be undone.
settings.logStreaming.deleteDestination
- Log Streaming.Get DestinationRead-only
Retrieve a log streaming destination. Retrieve a single log streaming destination by id. Requires the Log Streaming feature to be licensed. Requires the eventBusDestination:read API key scope. Needs a licence with feat:logStreaming (Business or Enterprise plans): without it n8n answers 403.
settings.logStreaming.getDestination
- Log Streaming.List DestinationsRead-only
List log streaming destinations. List the configured log streaming destinations. Requires the Log Streaming feature to be licensed. Requires the eventBusDestination:list API key scope. Needs a licence with feat:logStreaming (Business or Enterprise plans): without it n8n answers 403.
settings.logStreaming.listDestinations
- Log Streaming.List Event TypesRead-only
List streamable event types. List the event types that can be streamed to a log streaming destination. Requires the Log Streaming feature to be licensed. Requires the eventBusDestination:list API key scope. Needs a licence with feat:logStreaming (Business or Enterprise plans): without it n8n answers 403.
settings.logStreaming.listEventTypes
- Log Streaming.Test DestinationRead-only
Send a test message to a log streaming destination. Send a test message to the destination to verify it is reachable and configured correctly. Requires the Log Streaming feature to be licensed. Requires the eventBusDestination:test API key scope. Needs a licence with feat:logStreaming (Business or Enterprise plans): without it n8n answers 403.
settings.logStreaming.testDestination
- Log Streaming.Update DestinationWrite
Update a log streaming destination. Replace an existing log streaming destination. The update takes effect exactly as it would from the UI, using the same validation. Requires the Log Streaming feature to be licensed. Needs a licence with feat:logStreaming (Business or Enterprise plans): without it n8n answers 403.
settings.logStreaming.updateDestination
- Oidc.GetRead-only
Retrieve the OIDC SSO configuration. Retrieve the current OIDC SSO configuration, including every field exposed in the UI. The client secret is redacted on read and is never echoed back in plaintext. Requires the OIDC feature to be licensed. Requires the oidc:manage API key scope. Needs a licence with feat:oidc (Business or Enterprise plans): without it n8n answers 403.
settings.oidc.get
- Oidc.UpdateDestructive
Set the OIDC SSO configuration. Set the OIDC SSO configuration. The update takes effect exactly as it would from the UI, using the same validation. clientId, clientSecret and discoveryEndpoint are required; submit the redacted client secret sentinel to keep the stored secret unchanged. Requires the OIDC feature to be licensed. Needs a licence with feat:oidc (Business or Enterprise plans): without it n8n answers 403.
settings.oidc.update
- Otel.GetRead-only
Retrieve the OpenTelemetry configuration. Retrieve the current OpenTelemetry configuration, including every field exposed in the UI. Requires the otel:manage API key scope.
settings.otel.get
- Otel.Test TraceRead-only
Test the connection to an OTLP collector. Send a single test span to the given OTLP collector and report whether it was accepted. This tests the supplied connection details without changing the stored configuration. Fields managed declaratively via environment variables are overridden with their effective value before the test is sent.
settings.otel.testTrace
- Otel.UpdateWrite
Set the OpenTelemetry configuration. Set the OpenTelemetry configuration. This is a full replacement: every field must be provided, and a partial body is rejected. The exceptions are exporterProtocol, which defaults to http/protobuf when omitted, and emitWorkflowStartSpan and emitNodeStartSpan, which default to false when omitted.
settings.otel.update
- Rate Limits.GetRead-only
Retrieve the Public API rate-limit settings. Retrieve the Public API rate-limit settings. envManagedFields lists the fields that are set by environment variables and can't be changed through the API. Requests to this route count against the rate limits. Requires the securitySettings:manage API key scope.
settings.rateLimits.get
- Rate Limits.UpdateWrite
Set the Public API rate-limit settings. Set the Public API rate-limit settings. You can send a GET response back as the body, and envManagedFields is ignored. When rate limiting is enabled, at least one limit must be greater than 0.
settings.rateLimits.update
- Saml.GetRead-only
Retrieve the SAML SSO configuration. Retrieve the current SAML SSO configuration, including every field exposed in the UI plus the service provider entity ID and ACS return URL. Signing private keys, signing certificates, and identity provider metadata are redacted on read. Requires the SAML feature to be licensed. Needs a licence with feat:saml (Business or Enterprise plans): without it n8n answers 403.
settings.saml.get
- Saml.UpdateDestructive
Set the SAML SSO configuration. Replace the SAML SSO configuration with the provided full object. Every writable field must be sent; use empty strings or empty arrays when a value is unset. Read-only entityID / returnUrl from GET are ignored if included, so a GET response can be sent back as a PUT body. Needs a licence with feat:saml (Business or Enterprise plans): without it n8n answers 403.
settings.saml.update
- Security Policy.GetRead-only
Retrieve the security policy. Retrieve the instance security policy: personal-space publishing and sharing, the execution-data redaction enforcement floor, and the read-only usage counts shown in the UI. Requires the Personal Space Policy feature to be licensed. Requires the securitySettings:manage API key scope. Needs a licence with feat:personalSpacePolicy (Business or Enterprise plans): without it n8n answers 403.
settings.securityPolicy.get
- Security Policy.UpdateDestructive
Set the security policy. Replace the instance security policy with the provided full object. Every writable field must be sent. Read-only usage counts from GET are ignored if included, so a GET response can be sent back as a PUT body. The update takes effect exactly as it would from the UI, using the same validation. Needs a licence with feat:personalSpacePolicy (Business or Enterprise plans): without it n8n answers 403.
settings.securityPolicy.update
Workflows
- ActivateDestructive
Publish a workflow. Deprecated: use POST /workflows/{id}/publish instead. Publish a workflow. In n8n v1, this action was termed activating a workflow. Requires the workflow:activate API key scope. Turns the workflow on: its triggers start running it.
workflows.activate
- ArchiveWrite
Archive a workflow. Soft-deletes a workflow by archiving it. Idempotent: archiving an already archived workflow returns 200 with the current workflow. Requires the workflow:delete API key scope.
workflows.archive
- CreateWrite
Create a workflow. Create a workflow in your instance. Requires the workflow:create API key scope.
workflows.create
- DeactivateWrite
Deactivate a workflow. Deprecated: use POST /workflows/{id}/unpublish instead. Deactivate a workflow. Requires the workflow:deactivate API key scope.
workflows.deactivate
- DeleteDestructive
Delete a workflow. Delete a workflow. Requires the workflow:delete API key scope. Cannot be undone.
workflows.delete
- GetRead-only
Retrieve a workflow. Retrieve a workflow. Requires the workflow:read API key scope.
workflows.get
- Get DependenciesRead-only
List workflow dependencies. List the credentials, data tables, sub-workflows and error workflow that the workflow uses, and the workflows and agents that use the workflow. Requires the workflow:read API key scope.
workflows.getDependencies
- Get TagsRead-only
Get workflow tags. Get workflow tags. Requires the workflowTags:list API key scope.
workflows.getTags
- Get VersionRead-only
Retrieve a workflow version. Retrieve a single version of a workflow from its version history. Requires the workflow:read API key scope.
workflows.getVersion
- Get Version LegacyRead-only
Retrieves a specific version of a workflow. Deprecated: use GET /workflows/{workflowId}/versions/{workflowVersionId} instead. Retrieves a specific version of a workflow from workflow history. Requires the workflow:read API key scope. The older route for workflows.getVersion.
workflows.getVersionLegacy
- ListRead-only
Retrieve all workflows. Retrieve all workflows from your instance. Requires the workflow:list API key scope.
workflows.list
- List HistoryRead-only
Retrieve workflow version history. Returns a paginated list of workflow versions (version IDs and metadata) for a workflow. Requires the workflow:read API key scope.
workflows.listHistory
- PublishDestructive
Publish a workflow. Publish a workflow. In n8n v1, this action was termed activating a workflow. Requires the workflow:activate API key scope. Publishes the current version: its triggers start running it.
workflows.publish
- RunDestructive
Run a workflow with existing run data. Start a manual execution of the latest saved version of a workflow. n8n reuses the given run data and runs the nodes up to the destination node. The call returns when the execution starts. It does not wait for the execution to finish. The user must also have the workflow:execute project scope. Runs the workflow now; its nodes may call outside services or spend credits there. Added in n8n 2.50; older instances answer 404.
workflows.run
- Set TagsWrite
Update tags of a workflow. Update tags of a workflow. Requires the workflowTags:update API key scope.
workflows.setTags
- TransferDestructive
Transfer a workflow to another project. Transfer a workflow to another project. Requires the workflow:move API key scope.
workflows.transfer
- UnarchiveWrite
Unarchive a workflow. Restores an archived workflow. Requires the workflow:delete API key scope.
workflows.unarchive
- UnpublishWrite
Unpublish a workflow. Unpublish a workflow. In n8n v1, this action was termed deactivating a workflow. Requires the workflow:deactivate API key scope.
workflows.unpublish
- UpdateWrite
Update a workflow. Update a workflow. If the workflow is published, the updated version will be automatically re-published unless publishIfActive is set to false.
workflows.update
Data Tables
- Columns.CreateWrite
Add a column to a data table. Add a new column to an existing data table. Requires the dataTableColumn:create API key scope.
dataTables.columns.create
- Columns.DeleteDestructive
Delete a column. Remove a column from a data table. This will also delete all data in the column. Requires the dataTableColumn:delete API key scope. Cannot be undone.
dataTables.columns.delete
- Columns.ListRead-only
List columns of a data table. Retrieve all columns for a specific data table. Requires the dataTableColumn:read API key scope.
dataTables.columns.list
- Columns.UpdateWrite
Update a column. Rename and/or reorder a column in a data table. Requires the dataTableColumn:update API key scope.
dataTables.columns.update
- CreateWrite
Create a new data table. Create a new data table in your personal project or a team project you have access to. Requires the dataTable:create API key scope.
dataTables.create
- DeleteDestructive
Delete a data table. Delete a data table. This will also delete all rows in the table. Requires the dataTable:delete API key scope. Cannot be undone.
dataTables.delete
- GetRead-only
Get a data table. Retrieve a specific data table by ID. Requires the dataTable:read API key scope.
dataTables.get
- Get DependenciesRead-only
List data table dependencies. List the workflows that use the data table. Requires the dataTable:read API key scope.
dataTables.getDependencies
- ListRead-only
List all data tables. Retrieve a list of all data tables with optional filtering, sorting, and pagination. Each table includes sizeBytes, the value the size sort option orders by. Requires the dataTable:list API key scope.
dataTables.list
- Rows.ClearDestructive
Clear all rows from a data table. Permanently delete all rows from a data table. The table structure is retained. This action cannot be undone. Requires the dataTableRow:delete API key scope. Cannot be undone.
dataTables.rows.clear
- Rows.DeleteDestructive
Delete rows from a data table. Delete rows matching filter conditions from a data table. Filter is required to prevent accidental deletion of all data. Requires the dataTableRow:delete API key scope. Cannot be undone.
dataTables.rows.delete
- Rows.InsertWrite
Insert rows into a data table. Insert one or more rows into a data table. Requires the dataTableRow:create API key scope.
dataTables.rows.insert
- Rows.ListRead-only
List rows of a data table. Retrieve rows from a data table with optional filtering, sorting, and pagination. Requires the dataTableRow:read API key scope.
dataTables.rows.list
- Rows.UpdateWrite
Update rows in a data table. Update rows matching filter conditions in a data table. Requires the dataTableRow:update API key scope.
dataTables.rows.update
- Rows.UpsertWrite
Upsert a row in a data table. Update an existing row, or insert a new one if no row matches the filter conditions. Requires the dataTableRow:upsert API key scope.
dataTables.rows.upsert
- UpdateWrite
Update a data table. Update a data table's name. Requires the dataTable:update API key scope.
dataTables.update
Agents
- ArchiveWrite
Archive an agent. Soft-deletes an agent by archiving it. Idempotent: archiving an already archived agent returns 200 with the current agent. Requires the agent:delete API key scope. Added in n8n 2.50; older instances answer 404.
agents.archive
- CreateWrite
Create an agent. Create an agent in your personal project or a team project you have access to. Requires the agent:create API key scope.
agents.create
- DeleteDestructive
Delete an agent. Delete an agent and its associated resources. The agent is deleted right away: it does not need to be archived first, and a published agent with live channels is deleted too. This matches the workflow delete endpoint. Requires the agent:delete API key scope. Cannot be undone.
agents.delete
- Executions.ListRead-only
List agent executions. List the runs of one agent that you can see, newest first. Project sessions are visible to every project member, private sessions only to their owner. The response is one cursor page: read the next page with the cursor query parameter. Added in n8n 2.50; older instances answer 404.
agents.executions.list
- Executions.StopDestructive
Stop an agent run. Stop a run of this agent. A finished run returns its status. An unknown execution returns 404. Requires the agent:execute API key scope. Added in n8n 2.50; older instances answer 404.
agents.executions.stop
- GetRead-only
Retrieve an agent. Retrieve one agent by ID. The response carries the agent configuration that the update endpoint writes back. Requires the agent:read API key scope.
agents.get
- ListRead-only
List agents. List the agents in the projects where you hold the agent:list permission. The response is one cursor page: read the next page with the cursor query parameter. Narrow the list to one project with projectId. Requires the agent:list API key scope.
agents.list
- PublishDestructive
Publish an agent. Publish an agent. Omit versionId to publish the current draft. Send versionId to publish a saved version. Requires the agent:publish API key scope. Added in n8n 2.50; older instances answer 404.
agents.publish
- RunDestructive
Run an agent. Run the latest published version of an agent and wait for the final response. Omit sessionId to start a session. Send the same sessionId to continue that session. The Public API rejects an agent that has no published version, and an agent whose published version uses a tool that needs approval. Runs the agent: its model calls spend the connected model account's tokens. Added in n8n 2.50; older instances answer 404.
agents.run
- UnarchiveWrite
Unarchive an agent. Restores an archived agent. Requires the agent:delete API key scope. Added in n8n 2.50; older instances answer 404.
agents.unarchive
- UnpublishWrite
Unpublish an agent. Unpublish an agent. This stops the published version and disconnects its live channels. Requires the agent:unpublish API key scope. Added in n8n 2.50; older instances answer 404.
agents.unpublish
- UpdateWrite
Update an agent. Replace the configuration of an agent. Send the configuration and the concurrency token you read from the retrieve endpoint: a stale token returns a conflict. Fields the server manages are ignored, not rejected. Added in n8n 2.50; older instances answer 404.
agents.update
- Versions.GetRead-only
Retrieve an agent version. Retrieve one saved version of an agent, including its configuration, tools, and skills. Requires the agent:read API key scope. Added in n8n 2.50; older instances answer 404.
agents.versions.get
- Versions.ListRead-only
Retrieve agent version history. Returns a paginated list of saved agent versions for an agent. The response is one cursor page: read the next page with the cursor query parameter. Requires the agent:read API key scope. Added in n8n 2.50; older instances answer 404.
agents.versions.list
Credential Type Policies
- Attachments.GetRead-only
Preview: Retrieve a scope's attached policy documents. Preview — breaking changes may still occur without major version bump. Returns every attached policy document and the scope version. Attachments use evaluation order: floor first, then priority ascending within each group. Use this version when replacing the attachments. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
credentialTypePolicies.attachments.get
- Attachments.ReplaceWrite
Preview: Replace a scope's attached policy documents. Preview — breaking changes may still occur without major version bump. Replaces every attachment on a scope. scopeId comes from the scope's GET response once it has been written. Each policyId and each (isFloor, priority) pair must be unique within the list. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
credentialTypePolicies.attachments.replace
- Documents.CreateWrite
Preview: Create a credential type policy document. Preview — breaking changes may still occur without major version bump. Creates a reusable policy document that is not yet attached to any scope. Rule ids must be unique within the list. warnings lists rules that an earlier rule already shadows. Requires the credentialTypePolicy:manage API key scope. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
credentialTypePolicies.documents.create
- Documents.DeleteDestructive
Preview: Delete a credential type policy document. Preview — breaking changes may still occur without major version bump. Deletes a policy document. A document that is still attached to a scope is rejected with 409; detach it first. Requires the credentialTypePolicy:manage API key scope. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403. Cannot be undone.
credentialTypePolicies.documents.delete
- Documents.GetRead-only
Preview: Retrieve a credential type policy document. Preview — breaking changes may still occur without major version bump. Requires the credentialTypePolicy:manage API key scope. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
credentialTypePolicies.documents.get
- Documents.ListRead-only
Preview: List credential type policy documents. Preview — breaking changes may still occur without major version bump. Returns a cursor-paginated list of reusable policy documents. Requires the credentialTypePolicy:manage API key scope. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
credentialTypePolicies.documents.list
- Documents.UpdateWrite
Preview: Replace the rules of a credential type policy document. Preview — breaking changes may still occur without major version bump. Replaces the document's whole rule list. version must equal the version last read; a stale value is rejected with 409. Every scope the document is attached to has its version bumped. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
credentialTypePolicies.documents.update
- Get InstanceRead-only
Preview: Retrieve the instance credential type policy. Preview — breaking changes may still occur without major version bump. Returns the composed instance-scope policy: its default action and the rules of every attached policy document in evaluation order. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
credentialTypePolicies.getInstance
- Get ProjectRead-only
Preview: Retrieve a project's credential type policy. Preview — breaking changes may still occur without major version bump. Returns the project's own composed policy, not the result of combining it with the instance policy. A project that was never configured reports scopeId: null, no rules, defaultAction: allow, and version: 0. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
credentialTypePolicies.getProject
- Set InstanceWrite
Preview: Replace the instance credential type policy. Preview — breaking changes may still occur without major version bump. Sets the instance default action and replaces the rules of its single policy document, creating both on first write. version must equal the version last read; a stale value is rejected with 409. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
credentialTypePolicies.setInstance
- Set ProjectWrite
Preview: Replace a project's credential type policy. Preview — breaking changes may still occur without major version bump. Sets the project's default action and replaces the rules of its single policy document, creating both on first write. Only a team project can have a policy; a personal project is rejected with 400. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
credentialTypePolicies.setProject
Node Type Policies
- Attachments.GetRead-only
Preview: Retrieve a scope's attached policy documents. Preview — breaking changes may still occur without major version bump. Returns every attached policy document and the scope version. Attachments use evaluation order: floor first, then priority ascending within each group. Use this version when replacing the attachments. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
nodeTypePolicies.attachments.get
- Attachments.ReplaceWrite
Preview: Replace a scope's attached policy documents. Preview — breaking changes may still occur without major version bump. Replaces every attachment on a scope. scopeId comes from the scope's GET response once it has been written. Each policyId and each (isFloor, priority) pair must be unique within the list. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
nodeTypePolicies.attachments.replace
- Documents.CreateWrite
Preview: Create a node type policy document. Preview — breaking changes may still occur without major version bump. Creates a reusable policy document that is not yet attached to any scope. Rule ids must be unique within the list. warnings lists rules that an earlier rule already shadows. Requires the nodeTypePolicy:manage API key scope. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
nodeTypePolicies.documents.create
- Documents.DeleteDestructive
Preview: Delete a node type policy document. Preview — breaking changes may still occur without major version bump. Deletes a policy document. A document that is still attached to a scope is rejected with 409; detach it first. Requires the nodeTypePolicy:manage API key scope. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403. Cannot be undone.
nodeTypePolicies.documents.delete
- Documents.GetRead-only
Preview: Retrieve a node type policy document. Preview — breaking changes may still occur without major version bump. Requires the nodeTypePolicy:manage API key scope. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
nodeTypePolicies.documents.get
- Documents.ListRead-only
Preview: List node type policy documents. Preview — breaking changes may still occur without major version bump. Returns a cursor-paginated list of reusable policy documents. Requires the nodeTypePolicy:manage API key scope. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
nodeTypePolicies.documents.list
- Documents.UpdateWrite
Preview: Replace the rules of a node type policy document. Preview — breaking changes may still occur without major version bump. Replaces the document's whole rule list. version must equal the version last read; a stale value is rejected with 409. Every scope the document is attached to has its version bumped. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
nodeTypePolicies.documents.update
- Get InstanceRead-only
Preview: Retrieve the instance node type policy. Preview — breaking changes may still occur without major version bump. Returns the composed instance-scope policy: its default action and the rules of every attached policy document in evaluation order. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
nodeTypePolicies.getInstance
- Get ProjectRead-only
Preview: Retrieve a project's node type policy. Preview — breaking changes may still occur without major version bump. Returns the project's own composed policy, not the result of combining it with the instance policy. A project that was never configured reports scopeId: null, no rules, defaultAction: allow, and version: 0. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
nodeTypePolicies.getProject
- Set InstanceWrite
Preview: Replace the instance node type policy. Preview — breaking changes may still occur without major version bump. Sets the instance default action and replaces the rules of its single policy document, creating both on first write. version must equal the version last read; a stale value is rejected with 409. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
nodeTypePolicies.setInstance
- Set ProjectWrite
Preview: Replace a project's node type policy. Preview — breaking changes may still occur without major version bump. Sets the project's default action and replaces the rules of its single policy document, creating both on first write. Only a team project can have a policy; a personal project is rejected with 400. Needs a licence with feat:typeAvailabilityPolicies (Business or Enterprise plans): without it n8n answers 403.
nodeTypePolicies.setProject
Credentials
- CreateWrite
Create a credential. Creates a credential that can be used by nodes of the specified type. Requires the credential:create API key scope. The secret values go in data; n8n encrypts them and never returns them.
credentials.create
- DeleteDestructive
Delete credential by ID. Deletes a credential from your instance. You must be the owner of the credential. Requires the credential:delete API key scope. Cannot be undone.
credentials.delete
- GetRead-only
Get credential by ID. Retrieves a credential by ID. Credential data (secrets) is not included. Requires the credential:read API key scope.
credentials.get
- Get DependenciesRead-only
List credential dependencies. List the workflows and agents that use the credential. Requires the credential:read API key scope.
credentials.getDependencies
- Get SchemaRead-only
Show credential data schema. (GET /credentials/schema/{credentialTypeName})
credentials.getSchema
- ListRead-only
List credentials. Retrieve all credentials from your instance. Only available for the instance owner and admin. Credential data (secrets) is not included. Requires the credential:list API key scope.
credentials.list
- TestRead-only
Test credential by ID. Tests a credential by ID using the stored credential data. Requires the credential:read API key scope.
credentials.test
- TransferDestructive
Transfer a credential to another project. Transfer a credential to another project. Requires the credential:move API key scope.
credentials.transfer
- UpdateWrite
Update credential by ID. Updates an existing credential. You must be the owner of the credential. Requires the credential:update API key scope.
credentials.update
Executions
- DeleteDestructive
Delete an execution. Deletes an execution from your instance. Requires the execution:delete API key scope. Cannot be undone.
executions.delete
- GetRead-only
Retrieve an execution. Retrieve an execution from your instance. Requires the execution:read API key scope.
executions.get
- Get TagsRead-only
Get execution tags. Get annotation tags for an execution. Requires the executionTags:list API key scope.
executions.getTags
- ListRead-only
Retrieve all executions. Retrieve all executions from your instance. Requires the execution:list API key scope.
executions.list
- RetryDestructive
Retry an execution. Retry an execution from your instance. Requires the execution:retry API key scope. Runs the failed execution again, with the same side effects as the first run.
executions.retry
- Set TagsWrite
Update tags of an execution. Update annotation tags of an execution. Requires the executionTags:update API key scope.
executions.setTags
- StopDestructive
Stop an execution. Stop an execution by id. Requires the execution:stop API key scope.
executions.stop
- Stop ManyDestructive
Stop multiple executions. Stop multiple executions from your instance based on filter criteria. Requires the execution:stop API key scope.
executions.stopMany
Projects
- CreateWrite
Create a project. Create a team project on your instance. Requires the project:create API key scope. Needs a licence with feat:projectRole:admin (Business or Enterprise plans): without it n8n answers 403.
projects.create
- DeleteDestructive
Delete a project. Delete a project from your instance. Requires the project:delete API key scope. Needs a licence with feat:projectRole:admin (Business or Enterprise plans): without it n8n answers 403. Cannot be undone.
projects.delete
- ListRead-only
Retrieve projects. Retrieve projects from your instance. Requires the project:list API key scope. Needs a licence with feat:projectRole:admin (Business or Enterprise plans): without it n8n answers 403.
projects.list
- UpdateWrite
Update a project. Update a project on your instance. Requires the project:update API key scope. Needs a licence with feat:projectRole:admin (Business or Enterprise plans): without it n8n answers 403.
projects.update
- Users.AddWrite
Add one or more users to a project. Add one or more users to a project on your instance. Requires the project:manageMembers API key scope. Needs a licence with feat:projectRole:admin (Business or Enterprise plans): without it n8n answers 403.
projects.users.add
- Users.Change RoleDestructive
Change a user's role in a project. Change a user's role in a project. Requires the project:manageMembers API key scope. Needs a licence with feat:projectRole:admin (Business or Enterprise plans): without it n8n answers 403.
projects.users.changeRole
- Users.ListRead-only
List project members. Returns a list of all members of a project including their role. Requires the user:list API key scope. Needs a licence with feat:projectRole:admin (Business or Enterprise plans): without it n8n answers 403.
projects.users.list
- Users.RemoveDestructive
Delete a user from a project. Delete a user from a project on your instance. Requires the project:manageMembers API key scope. Needs a licence with feat:projectRole:admin (Business or Enterprise plans): without it n8n answers 403. Cannot be undone.
projects.users.remove
Ai Preferences
- CreateWrite
Create an AI preference. Create an AI preference for yourself (scope user), for a project (scope project, with projectId), or for the whole instance (scope instance). A preference for the instance or for another user needs the aiPreference:create permission. Added in n8n 2.50; older instances answer 404.
aiPreferences.create
- DeleteDestructive
Delete an AI preference. Delete an AI preference. Requires the aiPreference:delete API key scope. Added in n8n 2.50; older instances answer 404. Cannot be undone.
aiPreferences.delete
- GetRead-only
Retrieve an AI preference. Retrieve one AI preference by ID. The content, scope, userId and projectId fields form the body that the update endpoint takes. Requires the aiPreference:read API key scope. Added in n8n 2.50; older instances answer 404.
aiPreferences.get
- ListRead-only
List AI preferences. List the AI preferences you can read: the instance preferences, your own preferences, and the preferences of the projects where you hold the projectAiPreference:list permission. With the aiPreference:list permission, the list also has the preferences of other users. Filter with scope and projectId. Added in n8n 2.50; older instances answer 404.
aiPreferences.list
- UpdateWrite
Update an AI preference. Replace an AI preference with the full body: content, scope, and the userId or projectId of the scope. A user preference names its user in userId, and a project preference names its project in projectId. Added in n8n 2.50; older instances answer 404.
aiPreferences.update
Evaluations
- Cancel RunDestructive
Cancel a test run. Cancel a running evaluation test run of a workflow. The user must also have the workflow:execute project scope. Requires the testRun:cancel API key scope. Needs a licence with evaluations (Business or Enterprise plans): without it n8n answers 403.
evaluations.cancelRun
- Get RunRead-only
Retrieve a test run. Retrieve a single evaluation test run of a workflow, including its aggregated metrics and final result. Requires the testRun:read API key scope.
evaluations.getRun
- List CasesRead-only
Retrieve test run cases. Retrieve the per-case results of an evaluation test run. Requires the execution:read project scope. Requires the testRun:read API key scope.
evaluations.listCases
- List RunsRead-only
Retrieve test runs. Retrieve the evaluation test runs of a workflow. Requires the testRun:list API key scope.
evaluations.listRuns
- Start RunDestructive
Trigger a test run. Start a new evaluation test run for a workflow. The workflow must contain a configured evaluation trigger. The user must also have the workflow:execute project scope. Requires the testRun:create API key scope. Needs a licence with evaluations (Business or Enterprise plans): without it n8n answers 403.
evaluations.startRun
Folders
- CreateWrite
Create a folder. Create a folder within a project. Requires the folder:create API key scope. Needs folders in the licence (the free registered Community licence has them): without it n8n answers 403.
folders.create
- DeleteDestructive
Delete a folder. Delete a folder within a project. When transferToFolderId is provided, workflows and sub-folders are moved to the target folder before deletion. When omitted, workflows are moved to the project root and archived, and child folders are deleted. Requires the folder:delete API key scope. Needs folders in the licence (the free registered Community licence has them): without it n8n answers 403. Cannot be undone.
folders.delete
- GetRead-only
Get folder details. Get folder details including sub-folder and workflow counts. Requires the folder:read API key scope. Needs folders in the licence (the free registered Community licence has them): without it n8n answers 403.
folders.get
- ListRead-only
Retrieve folders. Retrieve folders within a project. Supports filtering, sorting, field selection, and pagination. Requires the folder:list API key scope. Needs folders in the licence (the free registered Community licence has them): without it n8n answers 403.
folders.list
- UpdateWrite
Update a folder. Update folder name or parent folder. Requires the folder:update API key scope. Needs folders in the licence (the free registered Community licence has them): without it n8n answers 403.
folders.update
Role Mapping Rules
- CreateWrite
Create a role-mapping rule. Creates a rule that maps an identity-provider claim expression to a role. Set type to instance for a rule granting a global role, or project for a rule granting a project role on the projects named in projectIds. Omitting order appends the rule to the end of the evaluation order for its type. Needs a licence with provisioning (Business or Enterprise plans): without it n8n answers 403.
roleMappingRules.create
- DeleteDestructive
Delete a role-mapping rule. Deletes a role-mapping rule. The remaining rules of the same type close the gap, so their order values stay a contiguous sequence starting at 0. Requires the roleMappingRule:delete API key scope. Needs a licence with provisioning (Business or Enterprise plans): without it n8n answers 403. Cannot be undone.
roleMappingRules.delete
- ListRead-only
Retrieve role-mapping rules. Returns the configured role-mapping rules. order is the rule's evaluation position within its own type, so instance and project rules each have their own sequence starting at 0 — filter by type to retrieve a single evaluation order. Requires the roleMappingRule:list API key scope. Needs a licence with provisioning (Business or Enterprise plans): without it n8n answers 403.
roleMappingRules.list
- MoveWrite
Move a role-mapping rule. Changes a rule's position in the evaluation order for its type. targetIndex is the desired 0-based position within the rule's own type sequence; a value beyond the last position moves the rule to the end. Requires the roleMappingRule:update API key scope. Needs a licence with provisioning (Business or Enterprise plans): without it n8n answers 403.
roleMappingRules.move
- UpdateWrite
Update a role-mapping rule. Updates a rule's claim expression, role, and/or project assignments. A rule's type cannot be changed once created, so type isn't accepted here, and reordering is handled by the move endpoint. Requires the roleMappingRule:update API key scope. Needs a licence with provisioning (Business or Enterprise plans): without it n8n answers 403.
roleMappingRules.update
Roles
- CreateWrite
Create a custom role. Creates a custom role. Set roleType to global for an instance-wide role or project for a project role. Requires one of these API key scopes: role:manage, role:manageProject. Needs a licence with feat:customRoles (Business or Enterprise plans): without it n8n answers 403.
roles.create
- DeleteDestructive
Delete a custom role. Deletes a custom role. System roles cannot be deleted. A role with users assigned cannot be deleted unless reassignRoleSlug is set to move those users to another role first. Requires one of these API key scopes: role:manage, role:manageProject. Needs a licence with feat:customRoles (Business or Enterprise plans): without it n8n answers 403. Cannot be undone.
roles.delete
- GetRead-only
Retrieve a role. Returns a single role with its scopes. Set withUsageCount to include how many users and projects use the role. Requires the role:read API key scope.
roles.get
- ListRead-only
Retrieve all roles. Returns all roles grouped by type (global and project). Set withUsageCount to include how many users and projects use each role. Requires the role:list API key scope.
roles.list
- UpdateWrite
Update a custom role. Replaces a custom role's display name, description, and scopes. System roles cannot be updated. Requires one of these API key scopes: role:manage, role:manageProject. Needs a licence with feat:customRoles (Business or Enterprise plans): without it n8n answers 403.
roles.update
Tags
- CreateWrite
Create a tag. Create a tag in your instance. Requires the tag:create API key scope.
tags.create
- DeleteDestructive
Delete a tag. Deletes a tag. Requires the tag:delete API key scope. Cannot be undone.
tags.delete
- GetRead-only
Retrieves a tag. Retrieves a tag. Requires the tag:read API key scope.
tags.get
- ListRead-only
Retrieve all tags. Retrieve all tags from your instance. Requires the tag:list API key scope.
tags.list
- UpdateWrite
Update a tag. Update a tag. Requires the tag:update API key scope.
tags.update
Users
- Change RoleDestructive
Change a user's global role. Change a user's global role Requires the user:changeRole API key scope. Needs a licence with feat:advancedPermissions (Business or Enterprise plans): without it n8n answers 403.
users.changeRole
- DeleteDestructive
Delete user. Delete a user from your instance. Requires the user:delete API key scope. Cannot be undone.
users.delete
- GetRead-only
Get user by ID/Email. Retrieve a user from your instance. Only available for the instance owner. Requires the user:read API key scope.
users.get
- InviteDestructive
Create multiple users. Create one or more users. Requires the user:create API key scope. Sends an invitation email to each address when the instance has email set up.
users.invite
- ListRead-only
Retrieve all users. Retrieve all users from your instance. Only available for the instance owner. Requires the user:list API key scope.
users.list
Community Packages
- InstallDestructive
Install a community package. Install a community package by npm name and optional version. Requires the communityPackage:install API key scope. Installs an npm package of nodes on the n8n server.
communityPackages.install
- ListRead-only
List installed community packages. Retrieve all installed community packages with pending update info. Requires the communityPackage:list API key scope.
communityPackages.list
- UninstallDestructive
Uninstall a community package. Uninstall a community package by name. Requires the communityPackage:uninstall API key scope. Cannot be undone.
communityPackages.uninstall
- UpdateDestructive
Update a community package. Update an installed community package to a new version. Requires the communityPackage:update API key scope.
communityPackages.update
Variables
- CreateWrite
Create a variable. Create a variable in your instance. Requires the variable:create API key scope. Needs a licence with feat:variables (Business or Enterprise plans): without it n8n answers 403.
variables.create
- DeleteDestructive
Delete a variable. Delete a variable from your instance. Requires the variable:delete API key scope. Needs a licence with feat:variables (Business or Enterprise plans): without it n8n answers 403. Cannot be undone.
variables.delete
- ListRead-only
Retrieve variables. Retrieve variables from your instance. Requires the variable:list API key scope. Needs a licence with feat:variables (Business or Enterprise plans): without it n8n answers 403.
variables.list
- UpdateWrite
Update a variable. Update a variable from your instance. Requires the variable:update API key scope. Needs a licence with feat:variables (Business or Enterprise plans): without it n8n answers 403.
variables.update
Packages
- ExportRead-only
Beta: Export agents, workflows, folders, or projects as an n8n package. Beta — breaking changes may still occur without major version bump. Export agents, workflows, and folders, or whole projects, as a gzipped tar archive (.n8np). Provide agentIds/workflowIds/folderIds, or projectIds. Do not combine these two groups. Each exported folder includes its nested folders. Returns a .n8np package (gzip) of the chosen workflows, credentials and data tables.
packages.export
- ImportDestructive
Beta: Import an n8n package into a project. Beta — breaking changes may still occur without major version bump. Imports Agent-only, workflow-only, mixed, and whole-project packages. The Agents module must be active for packages that contain Agents. Send the gzip-compressed tar archive (.n8np) as the multipart field package.
packages.import
- Import SelectionDestructive
Beta: Import a selected subset of workflows from an n8n package. Beta — breaking changes may still occur without major version bump. Imports a chosen subset of workflows from one source project of a gzip-compressed tar package (.n8np), instead of the whole package. Send the archive as the multipart field package.
packages.importSelection
Source Control
- Get StatusRead-only
Preview pending source control changes. Previews the pending changes between the instance and the connected Git branch in either the push or pull direction. Requires the sourceControl:read API key scope. Needs a licence with feat:sourceControl (Business or Enterprise plans): without it n8n answers 403.
sourceControl.getStatus
- PullDestructive
Pull changes from the remote repository. Fetches changes from the connected Git branch into the instance. Requires the sourceControl:pull API key scope. Needs a licence with feat:sourceControl (Business or Enterprise plans): without it n8n answers 403.
sourceControl.pull
- PushDestructive
Push local source control changes. Commits and pushes the selected files to the connected Git branch. Each entry in fileNames is resolved against a fresh preview of the pending changes. Requires the sourceControl:push API key scope. Needs a licence with feat:sourceControl (Business or Enterprise plans): without it n8n answers 403.
sourceControl.push
Audit
- GenerateRead-only
Generate an audit. Generate a security audit for your n8n instance. Requires the securityAudit:generate API key scope. Builds a security report of the instance (credentials, database, nodes, filesystem, instance).
audit.generate
Discover
- GetRead-only
Discover available API capabilities. Returns a filtered capability map based on the caller's API key scopes. Each resource includes the operations and endpoints accessible to the authenticated API key. Use query parameters to narrow the response.
discover.get
Insights
- Get SummaryRead-only
Retrieve insights summary. Retrieve the insights summary for the selected date range. Requires the insights:read API key scope.
insights.getSummary
Connect n8n to Claude, ChatGPT or Cursor
- 1
Connect n8n in Corsair
Add your n8n API key once in Corsair. Corsair stores the credential encrypted and makes the n8n API calls for your agent, so it never goes into a prompt or a config file. Connect n8n
If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs n8n. On a ChatGPT personal plan, connect n8n here first.
- 2
Add Corsair's MCP server to your agent
Every client uses the same address:
https://mcp.corsair.dev/mcpOpen Plugins → Add → Add custom connector, name it Corsair, paste the address, select Continue, then Add.Add a custom MCP server with the address and choose OAuth. Personal plans get read tools only.Add to CursorOr add this to~/.cursor/mcp.json. Cursor opens Corsair to sign in the first time it connects.{ "mcpServers": { "corsair": { "url": "https://mcp.corsair.dev/mcp" } } }Run this, then run/mcpin Claude Code to sign in.claude mcp add --transport http corsair https://mcp.corsair.dev/mcpCodex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client
- 3
Sign in and choose what needs your approval
Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, n8n's read and write operations run right away and its 57 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.
FAQ
Install corsair and @corsair-dev/n8n, add the n8n plugin, and connect with an API key. Then call methods like corsair.n8n.api.agents.archive() from your app. Corsair keeps each tenant isolated.
Yes. n8n requires an API key from your n8n account or developer dashboard. Create credentials with access that matches what you automate, then paste them into Corsair or connect through managed auth in Hub.
Yes. One Corsair client can hit n8n, GitHub, Notion, Stripe, and the rest. Trigger n8n from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.
Teams use Corsair for manage an n8n instance: workflows, executions, credentials, data tables, tags, variables, projects, users, AI agents and instance settings (202 operations). Common builds include sync jobs, admin tooling, and agents that call n8n APIs from your backend.
The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per n8n API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.
We maintain @corsair-dev/n8n in the open repo. When n8n ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.
No. Corsair does not read your n8n data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store n8n data on your behalf.
Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.
Yes. Put n8n on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 57 destructive n8n operations. You can change a link's mode at hub.corsair.dev/me.