Skip to main content
New to Corsair? See API access, authentication, and error handling.

Agents

archive

agents.archive 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. Risk: write
Input Output

create

agents.create 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. Risk: write
Input
Output

delete

agents.delete 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. Risk: destructive · Irreversible
Input Output

executions.list

agents.executions.list 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. Risk: read
Input Output

executions.stop

agents.executions.stop 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. Risk: destructive · Irreversible
Input Output

get

agents.get 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. Risk: read
Input Output

list

agents.list 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. Risk: read
Input Output

publish

agents.publish 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. Risk: destructive
Input Output

run

agents.run 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. Risk: destructive
Input Output

unarchive

agents.unarchive Unarchive an agent. Restores an archived agent. Requires the agent:delete API key scope. Added in n8n 2.50; older instances answer 404. Risk: write
Input Output

unpublish

agents.unpublish 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. Risk: write
Input Output

update

agents.update 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. Risk: write
Input
Output

versions.get

agents.versions.get 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. Risk: read
Input Output

versions.list

agents.versions.list 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. Risk: read
Input Output

Ai Preferences

create

aiPreferences.create 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. Risk: write
Input Output

delete

aiPreferences.delete 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. Risk: destructive · Irreversible
Input Output

get

aiPreferences.get 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. Risk: read
Input Output

list

aiPreferences.list 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. Risk: read
Input Output

update

aiPreferences.update 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. Risk: write
Input Output

Audit

generate

audit.generate 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). Risk: read
Input
Output: object \| any[]

Community Packages

install

communityPackages.install 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. Risk: destructive
Input Output

list

communityPackages.list List installed community packages. Retrieve all installed community packages with pending update info. Requires the communityPackage:list API key scope. Risk: read
Input: empty object Output: object[]

uninstall

communityPackages.uninstall Uninstall a community package. Uninstall a community package by name. Requires the communityPackage:uninstall API key scope. Cannot be undone. Risk: destructive · Irreversible
Input Output

update

communityPackages.update Update a community package. Update an installed community package to a new version. Requires the communityPackage:update API key scope. Risk: destructive
Input Output

Credentials

create

credentials.create 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. Risk: write
Input Output

delete

credentials.delete 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. Risk: destructive · Irreversible
Input Output

get

credentials.get Get credential by ID. Retrieves a credential by ID. Credential data (secrets) is not included. Requires the credential:read API key scope. Risk: read
Input Output

getDependencies

credentials.getDependencies List credential dependencies. List the workflows and agents that use the credential. Requires the credential:read API key scope. Risk: read
Input Output

getSchema

credentials.getSchema Show credential data schema. (GET /credentials/schema/{credentialTypeName}) Risk: read
Input Output

list

credentials.list 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. Risk: read
Input Output

test

credentials.test Test credential by ID. Tests a credential by ID using the stored credential data. Requires the credential:read API key scope. Risk: read
Input Output

transfer

credentials.transfer Transfer a credential to another project. Transfer a credential to another project. Requires the credential:move API key scope. Risk: destructive · Irreversible
Input Output

update

credentials.update Update credential by ID. Updates an existing credential. You must be the owner of the credential. Requires the credential:update API key scope. Risk: write
Input Output

Credential Type Policies

attachments.get

credentialTypePolicies.attachments.get 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. Risk: read
Input Output

attachments.replace

credentialTypePolicies.attachments.replace 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. Risk: write
Input
Output

documents.create

credentialTypePolicies.documents.create 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. Risk: write
Input
Output

documents.delete

credentialTypePolicies.documents.delete 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. Risk: destructive · Irreversible
Input Output

documents.get

credentialTypePolicies.documents.get 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. Risk: read
Input Output

documents.list

credentialTypePolicies.documents.list 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. Risk: read
Input Output

documents.update

credentialTypePolicies.documents.update 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. Risk: write
Input
Output

getInstance

credentialTypePolicies.getInstance 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. Risk: read
Input: empty object Output

getProject

credentialTypePolicies.getProject 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. Risk: read
Input Output

setInstance

credentialTypePolicies.setInstance 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. Risk: write
Input
Output

setProject

credentialTypePolicies.setProject 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. Risk: write
Input
Output

Data Tables

columns.create

dataTables.columns.create Add a column to a data table. Add a new column to an existing data table. Requires the dataTableColumn:create API key scope. Risk: write
Input Output

columns.delete

dataTables.columns.delete 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. Risk: destructive · Irreversible
Input Output

columns.list

dataTables.columns.list List columns of a data table. Retrieve all columns for a specific data table. Requires the dataTableColumn:read API key scope. Risk: read
Input Output: object[]

columns.update

dataTables.columns.update Update a column. Rename and/or reorder a column in a data table. Requires the dataTableColumn:update API key scope. Risk: write
Input Output

create

dataTables.create 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. Risk: write
Input
Output

delete

dataTables.delete 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. Risk: destructive · Irreversible
Input Output

get

dataTables.get Get a data table. Retrieve a specific data table by ID. Requires the dataTable:read API key scope. Risk: read
Input Output

getDependencies

dataTables.getDependencies List data table dependencies. List the workflows that use the data table. Requires the dataTable:read API key scope. Risk: read
Input Output

list

dataTables.list 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. Risk: read
Input Output

rows.clear

dataTables.rows.clear 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. Risk: destructive · Irreversible
Input Output

rows.delete

dataTables.rows.delete 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. Risk: destructive · Irreversible
Input Output: boolean \| object[]

rows.insert

dataTables.rows.insert Insert rows into a data table. Insert one or more rows into a data table. Requires the dataTableRow:create API key scope. Risk: write
Input Output: object \| object[]

rows.list

dataTables.rows.list 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. Risk: read
Input Output

rows.update

dataTables.rows.update Update rows in a data table. Update rows matching filter conditions in a data table. Requires the dataTableRow:update API key scope. Risk: write
Input
Output: boolean \| object[]

rows.upsert

dataTables.rows.upsert 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. Risk: write
Input
Output: boolean \| object[]

update

dataTables.update Update a data table. Update a data table’s name. Requires the dataTable:update API key scope. Risk: write
Input Output

Discover

get

discover.get 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. Risk: read
Input Output

Evaluations

cancelRun

evaluations.cancelRun 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. Risk: destructive · Irreversible
Input Output

getRun

evaluations.getRun 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. Risk: read
Input Output

listCases

evaluations.listCases 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. Risk: read
Input Output

listRuns

evaluations.listRuns Retrieve test runs. Retrieve the evaluation test runs of a workflow. Requires the testRun:list API key scope. Risk: read
Input Output

startRun

evaluations.startRun 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. Risk: destructive
Input Output

Executions

delete

executions.delete Delete an execution. Deletes an execution from your instance. Requires the execution:delete API key scope. Cannot be undone. Risk: destructive · Irreversible
Input Output

get

executions.get Retrieve an execution. Retrieve an execution from your instance. Requires the execution:read API key scope. Risk: read
Input Output

getTags

executions.getTags Get execution tags. Get annotation tags for an execution. Requires the executionTags:list API key scope. Risk: read
Input Output: object[]

list

executions.list Retrieve all executions. Retrieve all executions from your instance. Requires the execution:list API key scope. Risk: read
Input Output

retry

executions.retry 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. Risk: destructive
Input Output

setTags

executions.setTags Update tags of an execution. Update annotation tags of an execution. Requires the executionTags:update API key scope. Risk: write
Input
Output: object[]

stop

executions.stop Stop an execution. Stop an execution by id. Requires the execution:stop API key scope. Risk: destructive · Irreversible
Input Output

stopMany

executions.stopMany Stop multiple executions. Stop multiple executions from your instance based on filter criteria. Requires the execution:stop API key scope. Risk: destructive · Irreversible
Input Output

Folders

create

folders.create 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. Risk: write
Input Output

delete

folders.delete 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. Risk: destructive · Irreversible
Input Output

get

folders.get 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. Risk: read
Input Output

list

folders.list 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. Risk: read
Input Output

update

folders.update 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. Risk: write
Input Output

Insights

getSummary

insights.getSummary Retrieve insights summary. Retrieve the insights summary for the selected date range. Requires the insights:read API key scope. Risk: read
Input Output

Node Type Policies

attachments.get

nodeTypePolicies.attachments.get 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. Risk: read
Input Output

attachments.replace

nodeTypePolicies.attachments.replace 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. Risk: write
Input
Output

documents.create

nodeTypePolicies.documents.create 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. Risk: write
Input
Output

documents.delete

nodeTypePolicies.documents.delete 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. Risk: destructive · Irreversible
Input Output

documents.get

nodeTypePolicies.documents.get 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. Risk: read
Input Output

documents.list

nodeTypePolicies.documents.list 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. Risk: read
Input Output

documents.update

nodeTypePolicies.documents.update 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. Risk: write
Input
Output

getInstance

nodeTypePolicies.getInstance 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. Risk: read
Input: empty object Output

getProject

nodeTypePolicies.getProject 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. Risk: read
Input Output

setInstance

nodeTypePolicies.setInstance 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. Risk: write
Input
Output

setProject

nodeTypePolicies.setProject 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. Risk: write
Input
Output

Packages

export

packages.export 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. Risk: read
Input Output

import

packages.import 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. Risk: destructive
Input
Output

importSelection

packages.importSelection 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. Risk: destructive
Input
Output

Projects

create

projects.create 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. Risk: write
Input
Output

delete

projects.delete 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. Risk: destructive · Irreversible
Input Output

list

projects.list 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. Risk: read
Input Output

update

projects.update 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. Risk: write
Input Output

users.add

projects.users.add 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. Risk: write
Input
Output

users.changeRole

projects.users.changeRole 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. Risk: destructive · Irreversible
Input Output

users.list

projects.users.list 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. Risk: read
Input Output

users.remove

projects.users.remove 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. Risk: destructive · Irreversible
Input Output

Promotions

environments.addProject

promotions.environments.addProject 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. Risk: write
Input Output

environments.apply

promotions.environments.apply 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. Risk: destructive
Input
Output: object

environments.connect

promotions.environments.connect 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. Risk: write
Input Output

environments.continueApply

promotions.environments.continueApply 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. Risk: destructive
Input
Output: object

environments.create

promotions.environments.create 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. Risk: write
Input
Output: object

environments.delete

promotions.environments.delete 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. Risk: destructive · Irreversible
Input Output

environments.disconnect

promotions.environments.disconnect 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. Risk: write
Input Output

environments.get

promotions.environments.get 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. Risk: read
Input Output: object

environments.getChangeDetails

promotions.environments.getChangeDetails 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. Risk: read
Input Output

environments.list

promotions.environments.list 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. Risk: read
Input Output

environments.listChanges

promotions.environments.listChanges 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. Risk: read
Input Output

environments.listMissingProjects

promotions.environments.listMissingProjects 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. Risk: read
Input Output

environments.listProjects

promotions.environments.listProjects 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. Risk: read
Input Output

environments.promote

promotions.environments.promote 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. Risk: destructive
Input Output

environments.removeProject

promotions.environments.removeProject 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. Risk: destructive · Irreversible
Input Output

environments.update

promotions.environments.update 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. Risk: write
Input
Output: object

projects.apply

promotions.projects.apply 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. Risk: destructive
Input
Output: object

projects.continueApply

promotions.projects.continueApply 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. Risk: destructive
Input
Output: object

projects.getChangeDetails

promotions.projects.getChangeDetails 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. Risk: read
Input Output

projects.listChanges

promotions.projects.listChanges 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. Risk: read
Input Output

projects.promote

promotions.projects.promote 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. Risk: destructive
Input Output: object

providers.create

promotions.providers.create 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. Risk: write
Input
Output

providers.delete

promotions.providers.delete 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. Risk: destructive · Irreversible
Input Output

providers.get

promotions.providers.get 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. Risk: read
Input Output

providers.list

promotions.providers.list 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. Risk: read
Input Output

providers.listBranches

promotions.providers.listBranches 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. Risk: read
Input Output

providers.listRepositories

promotions.providers.listRepositories 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. Risk: read
Input Output

providers.update

promotions.providers.update 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. Risk: write
Input
Output

reviews.get

promotions.reviews.get 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. Risk: read
Input Output

reviews.list

promotions.reviews.list 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. Risk: read
Input Output

settings.get

promotions.settings.get 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. Risk: read
Input: empty object Output

settings.update

promotions.settings.update 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. Risk: write
Input Output

Role Mapping Rules

create

roleMappingRules.create 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. Risk: write
Input Output

delete

roleMappingRules.delete 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. Risk: destructive · Irreversible
Input Output

list

roleMappingRules.list 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. Risk: read
Input Output

move

roleMappingRules.move 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. Risk: write
Input Output

update

roleMappingRules.update 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. Risk: write
Input Output

Roles

create

roles.create 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. Risk: write
Input Output

delete

roles.delete 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. Risk: destructive · Irreversible
Input Output

get

roles.get 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. Risk: read
Input Output

list

roles.list 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. Risk: read
Input Output

update

roles.update 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. Risk: write
Input Output

Settings

ldap.get

settings.ldap.get 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. Risk: read
Input: empty object Output

ldap.listSyncs

settings.ldap.listSyncs 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. Risk: read
Input Output

ldap.runSync

settings.ldap.runSync 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. Risk: destructive
Input Output

ldap.update

settings.ldap.update 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. Risk: destructive · Irreversible
Input Output

logStreaming.createDestination

settings.logStreaming.createDestination 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. Risk: write
Input
Output: object

logStreaming.deleteDestination

settings.logStreaming.deleteDestination 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. Risk: destructive · Irreversible
Input Output: object

logStreaming.getDestination

settings.logStreaming.getDestination 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. Risk: read
Input Output: object

logStreaming.listDestinations

settings.logStreaming.listDestinations 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. Risk: read
Input: empty object Output

logStreaming.listEventTypes

settings.logStreaming.listEventTypes 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. Risk: read
Input: empty object Output

logStreaming.testDestination

settings.logStreaming.testDestination 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. Risk: read
Input Output

logStreaming.updateDestination

settings.logStreaming.updateDestination 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. Risk: write
Input
Output: object

oidc.get

settings.oidc.get 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. Risk: read
Input: empty object Output

oidc.update

settings.oidc.update 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. Risk: destructive · Irreversible
Input Output

otel.get

settings.otel.get Retrieve the OpenTelemetry configuration. Retrieve the current OpenTelemetry configuration, including every field exposed in the UI. Requires the otel:manage API key scope. Risk: read
Input: empty object Output

otel.testTrace

settings.otel.testTrace 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. Risk: read
Input Output

otel.update

settings.otel.update 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. Risk: write
Input Output

rateLimits.get

settings.rateLimits.get 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. Risk: read
Input: empty object Output

rateLimits.update

settings.rateLimits.update 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. Risk: write
Input Output

saml.get

settings.saml.get 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. Risk: read
Input: empty object Output

saml.update

settings.saml.update 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. Risk: destructive · Irreversible
Input
Output

securityPolicy.get

settings.securityPolicy.get 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. Risk: read
Input: empty object Output

securityPolicy.update

settings.securityPolicy.update 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. Risk: destructive · Irreversible
Input
Output

Source Control

getStatus

sourceControl.getStatus 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. Risk: read
Input Output

pull

sourceControl.pull 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. Risk: destructive
Input Output: object[]

push

sourceControl.push 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. Risk: destructive
Input
Output

Tags

create

tags.create Create a tag. Create a tag in your instance. Requires the tag:create API key scope. Risk: write
Input Output

delete

tags.delete Delete a tag. Deletes a tag. Requires the tag:delete API key scope. Cannot be undone. Risk: destructive · Irreversible
Input Output

get

tags.get Retrieves a tag. Retrieves a tag. Requires the tag:read API key scope. Risk: read
Input Output

list

tags.list Retrieve all tags. Retrieve all tags from your instance. Requires the tag:list API key scope. Risk: read
Input Output

update

tags.update Update a tag. Update a tag. Requires the tag:update API key scope. Risk: write
Input Output

Users

changeRole

users.changeRole 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. Risk: destructive · Irreversible
Input Output

delete

users.delete Delete user. Delete a user from your instance. Requires the user:delete API key scope. Cannot be undone. Risk: destructive · Irreversible
Input Output

get

users.get Get user by ID/Email. Retrieve a user from your instance. Only available for the instance owner. Requires the user:read API key scope. Risk: read
Input Output

invite

users.invite 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. Risk: destructive
Input
Output: object[]

list

users.list Retrieve all users. Retrieve all users from your instance. Only available for the instance owner. Requires the user:list API key scope. Risk: read
Input Output

Variables

create

variables.create 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. Risk: write
Input Output

delete

variables.delete 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. Risk: destructive · Irreversible
Input Output

list

variables.list 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. Risk: read
Input Output

update

variables.update 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. Risk: write
Input Output

Workflows

activate

workflows.activate 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. Risk: destructive
Input Output

archive

workflows.archive 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. Risk: write
Input Output

create

workflows.create Create a workflow. Create a workflow in your instance. Requires the workflow:create API key scope. Risk: write
Input
Output

deactivate

workflows.deactivate Deactivate a workflow. Deprecated: use POST /workflows/{id}/unpublish instead. Deactivate a workflow. Requires the workflow:deactivate API key scope. Risk: write
Input Output

delete

workflows.delete Delete a workflow. Delete a workflow. Requires the workflow:delete API key scope. Cannot be undone. Risk: destructive · Irreversible
Input Output

get

workflows.get Retrieve a workflow. Retrieve a workflow. Requires the workflow:read API key scope. Risk: read
Input Output

getDependencies

workflows.getDependencies 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. Risk: read
Input Output

getTags

workflows.getTags Get workflow tags. Get workflow tags. Requires the workflowTags:list API key scope. Risk: read
Input Output: object[]

getVersion

workflows.getVersion Retrieve a workflow version. Retrieve a single version of a workflow from its version history. Requires the workflow:read API key scope. Risk: read
Input Output

getVersionLegacy

workflows.getVersionLegacy 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. Risk: read
Input Output

list

workflows.list Retrieve all workflows. Retrieve all workflows from your instance. Requires the workflow:list API key scope. Risk: read
Input Output

listHistory

workflows.listHistory 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. Risk: read
Input Output

publish

workflows.publish 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. Risk: destructive
Input Output

run

workflows.run 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. Risk: destructive
Input
Output

setTags

workflows.setTags Update tags of a workflow. Update tags of a workflow. Requires the workflowTags:update API key scope. Risk: write
Input
Output: object[]

transfer

workflows.transfer Transfer a workflow to another project. Transfer a workflow to another project. Requires the workflow:move API key scope. Risk: destructive · Irreversible
Input Output

unarchive

workflows.unarchive Unarchive a workflow. Restores an archived workflow. Requires the workflow:delete API key scope. Risk: write
Input Output

unpublish

workflows.unpublish Unpublish a workflow. Unpublish a workflow. In n8n v1, this action was termed deactivating a workflow. Requires the workflow:deactivate API key scope. Risk: write
Input Output

update

workflows.update 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. Risk: write
Input
Output