N8n · Capability

n8n Public API

The n8n public REST API provides programmatic access to n8n instance resources including workflows, executions, credentials, users, tags, variables, projects, source control, audit, data tables, community packages, folders, and insights.

Run with Naftiko N8nAPI

What You Can Do

POST
Generateaudit — Generate an audit
/audit
POST
Createcredential — Create a credential
/credentials
DELETE
Deletecredential — Delete credential by ID
/credentials/{id}
POST
Testcredential — Test a credential
/credentials/{id}/test
GET
Getcredentialschema — Show credential data schema
/credentials/schema/{credentialTypeName}
PUT
Transfercredential — Transfer a credential to another project
/credentials/{id}/transfer
GET
Getexecutions — Retrieve all executions
/executions
GET
Getexecution — Retrieve an execution
/executions/{id}
DELETE
Deleteexecution — Delete an execution
/executions/{id}
POST
Retryexecution — Retry an execution
/executions/{id}/retry
POST
Stopexecution — Stop an execution
/executions/{id}/stop
POST
Stopexecutions — Stop multiple executions
/executions/stop
PUT
Updateexecutiontags — Update tags on an execution
/executions/{id}/tags
POST
Createtag — Create a tag
/tags
GET
Gettags — Retrieve all tags
/tags
GET
Gettag — Retrieves a tag
/tags/{id}
DELETE
Deletetag — Delete a tag
/tags/{id}
PUT
Updatetag — Update a tag
/tags/{id}
POST
Createworkflow — Create a workflow
/workflows
GET
Getworkflows — Retrieve all workflows
/workflows
GET
Getworkflow — Retrieves a workflow
/workflows/{id}
DELETE
Deleteworkflow — Delete a workflow
/workflows/{id}
PUT
Updateworkflow — Update a workflow
/workflows/{id}
GET
Getworkflowversion — Retrieves a specific version of a workflow
/workflows/{id}/{versionId}
POST
Activateworkflow — Activate a workflow
/workflows/{id}/activate
POST
Deactivateworkflow — Deactivate a workflow
/workflows/{id}/deactivate
POST
Archiveworkflow — Archive a workflow
/workflows/{id}/archive
POST
Unarchiveworkflow — Unarchive a workflow
/workflows/{id}/unarchive
PUT
Transferworkflow — Transfer a workflow to another project
/workflows/{id}/transfer
GET
Getworkflowtags — Get workflow tags
/workflows/{id}/tags
PUT
Updateworkflowtags — Update tags of a workflow
/workflows/{id}/tags
GET
Getusers — Retrieve all users
/users
POST
Createusers — Create multiple users
/users
GET
Getuser — Get user by ID/Email
/users/{id}
DELETE
Deleteuser — Delete a user
/users/{id}
PATCH
Changeuserrole — Change a user's global role
/users/{id}/role
POST
Sourcecontrolpull — Pull changes from the remote repository
/source-control/pull
POST
Createvariable — Create a variable
/variables
GET
Getvariables — Retrieve variables
/variables
DELETE
Deletevariable — Delete a variable
/variables/{id}
PUT
Updatevariable — Update a variable
/variables/{id}
GET
Listdatatables — List all data tables
/data-tables
POST
Createdatatable — Create a data table
/data-tables
GET
Getdatatable — Get a data table
/data-tables/{dataTableId}
DELETE
Deletedatatable — Delete a data table
/data-tables/{dataTableId}
PATCH
Updatedatatable — Update a data table
/data-tables/{dataTableId}
GET
Listdatatablerows — List rows in a data table
/data-tables/{dataTableId}/rows
POST
Insertdatatablerows — Insert rows into a data table
/data-tables/{dataTableId}/rows
POST
Updatedatatablerows — Update rows in a data table
/data-tables/{dataTableId}/rows/update
POST
Upsertdatatablerows — Upsert rows in a data table
/data-tables/{dataTableId}/rows/upsert
POST
Deletedatatablerows — Delete rows in a data table
/data-tables/{dataTableId}/rows/delete
GET
Listdatatablecolumns — List columns in a data table
/data-tables/{dataTableId}/columns
POST
Adddatatablecolumn — Add a column to a data table
/data-tables/{dataTableId}/columns
DELETE
Deletedatatablecolumn — Delete a column from a data table
/data-tables/{dataTableId}/columns/{columnId}
POST
Createproject — Create a project
/projects
GET
Getprojects — Retrieve projects
/projects
DELETE
Deleteproject — Delete a project
/projects/{projectId}
PUT
Updateproject — Update a project
/projects/{projectId}
GET
Getprojectusers — Get project users
/projects/{projectId}/users
POST
Addprojectusers — Add users to a project
/projects/{projectId}/users

MCP Tools

generateaudit

Generate an audit

createcredential

Create a credential

deletecredential

Delete credential by ID

idempotent
testcredential

Test a credential

getcredentialschema

Show credential data schema

read-only idempotent
transfercredential

Transfer a credential to another project

idempotent
getexecutions

Retrieve all executions

read-only idempotent
getexecution

Retrieve an execution

read-only idempotent
deleteexecution

Delete an execution

idempotent
retryexecution

Retry an execution

stopexecution

Stop an execution

stopexecutions

Stop multiple executions

updateexecutiontags

Update tags on an execution

idempotent
createtag

Create a tag

gettags

Retrieve all tags

read-only idempotent
gettag

Retrieves a tag

read-only idempotent
deletetag

Delete a tag

idempotent
updatetag

Update a tag

idempotent
createworkflow

Create a workflow

getworkflows

Retrieve all workflows

read-only idempotent
getworkflow

Retrieves a workflow

read-only idempotent
deleteworkflow

Delete a workflow

idempotent
updateworkflow

Update a workflow

idempotent
getworkflowversion

Retrieves a specific version of a workflow

read-only idempotent
activateworkflow

Activate a workflow

deactivateworkflow

Deactivate a workflow

archiveworkflow

Archive a workflow

unarchiveworkflow

Unarchive a workflow

transferworkflow

Transfer a workflow to another project

idempotent
getworkflowtags

Get workflow tags

read-only idempotent
updateworkflowtags

Update tags of a workflow

idempotent
getusers

Retrieve all users

read-only idempotent
createusers

Create multiple users

getuser

Get user by ID/Email

read-only idempotent
deleteuser

Delete a user

idempotent
changeuserrole

Change a user's global role

sourcecontrolpull

Pull changes from the remote repository

createvariable

Create a variable

getvariables

Retrieve variables

read-only idempotent
deletevariable

Delete a variable

idempotent
updatevariable

Update a variable

idempotent
listdatatables

List all data tables

read-only idempotent
createdatatable

Create a data table

getdatatable

Get a data table

read-only idempotent
deletedatatable

Delete a data table

idempotent
updatedatatable

Update a data table

listdatatablerows

List rows in a data table

read-only idempotent
insertdatatablerows

Insert rows into a data table

updatedatatablerows

Update rows in a data table

upsertdatatablerows

Upsert rows in a data table

deletedatatablerows

Delete rows in a data table

listdatatablecolumns

List columns in a data table

read-only idempotent
adddatatablecolumn

Add a column to a data table

deletedatatablecolumn

Delete a column from a data table

idempotent
createproject

Create a project

getprojects

Retrieve projects

read-only idempotent
deleteproject

Delete a project

idempotent
updateproject

Update a project

idempotent
getprojectusers

Get project users

read-only idempotent
addprojectusers

Add users to a project

Capability Spec

n8n-capability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: n8n Public API
  description: The n8n public REST API provides programmatic access to n8n instance resources including workflows, executions,
    credentials, users, tags, variables, projects, source control, audit, data tables, community packages, folders, and insights.
  tags:
  - N8n
  - API
  created: '2026-05-06'
  modified: '2026-05-06'
capability:
  consumes:
  - type: http
    namespace: n8n
    baseUri: https://app.n8n.cloud/api/v1
    description: n8n Public API HTTP API.
    authentication:
      type: apikey
      in: header
      name: X-N8N-API-KEY
      value: '{{N8N_TOKEN}}'
    resources:
    - name: audit
      path: /audit
      operations:
      - name: generateaudit
        method: POST
        description: Generate an audit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: credentials
      path: /credentials
      operations:
      - name: createcredential
        method: POST
        description: Create a credential
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: credentials-id
      path: /credentials/{id}
      operations:
      - name: deletecredential
        method: DELETE
        description: Delete credential by ID
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
          description: The credential ID.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: credentials-id-test
      path: /credentials/{id}/test
      operations:
      - name: testcredential
        method: POST
        description: Test a credential
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: credentials-schema-credentialtypename
      path: /credentials/schema/{credentialTypeName}
      operations:
      - name: getcredentialschema
        method: GET
        description: Show credential data schema
        inputParameters:
        - name: credentialTypeName
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: credentials-id-transfer
      path: /credentials/{id}/transfer
      operations:
      - name: transfercredential
        method: PUT
        description: Transfer a credential to another project
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: executions
      path: /executions
      operations:
      - name: getexecutions
        method: GET
        description: Retrieve all executions
        inputParameters:
        - name: includeData
          in: query
          type: boolean
        - name: status
          in: query
          type: string
        - name: workflowId
          in: query
          type: string
        - name: projectId
          in: query
          type: string
        - name: limit
          in: query
          type: number
        - name: cursor
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: executions-id
      path: /executions/{id}
      operations:
      - name: getexecution
        method: GET
        description: Retrieve an execution
        inputParameters:
        - name: id
          in: path
          type: number
          required: true
        - name: includeData
          in: query
          type: boolean
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteexecution
        method: DELETE
        description: Delete an execution
        inputParameters:
        - name: id
          in: path
          type: number
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: executions-id-retry
      path: /executions/{id}/retry
      operations:
      - name: retryexecution
        method: POST
        description: Retry an execution
        inputParameters:
        - name: id
          in: path
          type: number
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: executions-id-stop
      path: /executions/{id}/stop
      operations:
      - name: stopexecution
        method: POST
        description: Stop an execution
        inputParameters:
        - name: id
          in: path
          type: number
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: executions-stop
      path: /executions/stop
      operations:
      - name: stopexecutions
        method: POST
        description: Stop multiple executions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: executions-id-tags
      path: /executions/{id}/tags
      operations:
      - name: updateexecutiontags
        method: PUT
        description: Update tags on an execution
        inputParameters:
        - name: id
          in: path
          type: number
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: tags
      path: /tags
      operations:
      - name: createtag
        method: POST
        description: Create a tag
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: gettags
        method: GET
        description: Retrieve all tags
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: cursor
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: tags-id
      path: /tags/{id}
      operations:
      - name: gettag
        method: GET
        description: Retrieves a tag
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletetag
        method: DELETE
        description: Delete a tag
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatetag
        method: PUT
        description: Update a tag
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workflows
      path: /workflows
      operations:
      - name: createworkflow
        method: POST
        description: Create a workflow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getworkflows
        method: GET
        description: Retrieve all workflows
        inputParameters:
        - name: active
          in: query
          type: boolean
        - name: tags
          in: query
          type: string
        - name: name
          in: query
          type: string
        - name: projectId
          in: query
          type: string
        - name: excludePinnedData
          in: query
          type: boolean
        - name: limit
          in: query
          type: number
        - name: cursor
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workflows-id
      path: /workflows/{id}
      operations:
      - name: getworkflow
        method: GET
        description: Retrieves a workflow
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: excludePinnedData
          in: query
          type: boolean
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteworkflow
        method: DELETE
        description: Delete a workflow
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateworkflow
        method: PUT
        description: Update a workflow
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workflows-id-versionid
      path: /workflows/{id}/{versionId}
      operations:
      - name: getworkflowversion
        method: GET
        description: Retrieves a specific version of a workflow
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: versionId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workflows-id-activate
      path: /workflows/{id}/activate
      operations:
      - name: activateworkflow
        method: POST
        description: Activate a workflow
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workflows-id-deactivate
      path: /workflows/{id}/deactivate
      operations:
      - name: deactivateworkflow
        method: POST
        description: Deactivate a workflow
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workflows-id-archive
      path: /workflows/{id}/archive
      operations:
      - name: archiveworkflow
        method: POST
        description: Archive a workflow
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workflows-id-unarchive
      path: /workflows/{id}/unarchive
      operations:
      - name: unarchiveworkflow
        method: POST
        description: Unarchive a workflow
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workflows-id-transfer
      path: /workflows/{id}/transfer
      operations:
      - name: transferworkflow
        method: PUT
        description: Transfer a workflow to another project
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workflows-id-tags
      path: /workflows/{id}/tags
      operations:
      - name: getworkflowtags
        method: GET
        description: Get workflow tags
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateworkflowtags
        method: PUT
        description: Update tags of a workflow
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: users
      path: /users
      operations:
      - name: getusers
        method: GET
        description: Retrieve all users
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: cursor
          in: query
          type: string
        - name: includeRole
          in: query
          type: boolean
        - name: projectId
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createusers
        method: POST
        description: Create multiple users
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: users-id
      path: /users/{id}
      operations:
      - name: getuser
        method: GET
        description: Get user by ID/Email
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: includeRole
          in: query
          type: boolean
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteuser
        method: DELETE
        description: Delete a user
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: users-id-role
      path: /users/{id}/role
      operations:
      - name: changeuserrole
        method: PATCH
        description: Change a user's global role
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: source-control-pull
      path: /source-control/pull
      operations:
      - name: sourcecontrolpull
        method: POST
        description: Pull changes from the remote repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: variables
      path: /variables
      operations:
      - name: createvariable
        method: POST
        description: Create a variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getvariables
        method: GET
        description: Retrieve variables
        inputParameters:
        - name: limit
          in: query
          type: number
        - name: cursor
          in: query
          type: string
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: variables-id
      path: /variables/{id}
      operations:
      - name: deletevariable
        method: DELETE
        description: Delete a variable
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatevariable
        method: PUT
        description: Update a variable
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: data-tables
      path: /data-tables
      operations:
      - name: listdatatables
        method: GET
        description: List all data tables
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createdatatable
        method: POST
        description: Create a data table
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: data-tables-datatableid
      path: /data-tables/{dataTableId}
      operations:
      - name: getdatatable
        method: GET
        description: Get a data table
        inputParameters:
        - name: dataTableId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deletedatatable
        method: DELETE
        description: Delete a data table
        inputParameters:
        - name: dataTableId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatedatatable
        method: PATCH
        description: Update a data table
        inputParameters:
        - name: dataTableId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: data-tables-datatableid-rows
      path: /data-tables/{dataTableId}/rows
      operations:
      - name: listdatatablerows
        method: GET
        description: List rows in a data table
        inputParameters:
        - name: dataTableId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: insertdatatablerows
        method: POST
        description: Insert rows into a data table
        inputParameters:
        - name: dataTableId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: data-tables-datatableid-rows-update
      path: /data-tables/{dataTableId}/rows/update
      operations:
      - name: updatedatatablerows
        method: POST
        description: Update rows in a data table
        inputParameters:
        - name: dataTableId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: data-tables-datatableid-rows-upsert
      path: /data-tables/{dataTableId}/rows/upsert
      operations:
      - name: upsertdatatablerows
        method: POST
        description: Upsert rows in a data table
        inputParameters:
        - name: dataTableId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: data-tables-datatableid-rows-delete
      path: /data-tables/{dataTableId}/rows/delete
      operations:
      - name: deletedatatablerows
        method: POST
        description: Delete rows in a data table
        inputParameters:
        - name: dataTableId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: data-tables-datatableid-columns
      path: /data-tables/{dataTableId}/columns
      operations:
      - name: listdatatablecolumns
        method: GET
        description: List columns in a data table
        inputParameters:
        - name: dataTableId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: adddatatablecolumn
        method: POST
        description: Add a column to a data table
        inputParameters:
        - name: dataTableId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: data-tables-datatableid-columns-columnid
      path: /data-tables/{dataTableId}/columns/{columnId}
      operations:
      - name: deletedatatablecolumn
        method: DELETE
        description: Delete a column from a data table
        inputParameters:
        - name: dataTableId
          in: path
          type: string
          required: true
        - name: columnId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: projects
      path: /projects
      operations:
      - name: createproject
        method: POST
        description: Create a project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getprojects
        method: GET
        description: Retrieve projects
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: projects-projectid
      path: /projects/{projectId}
      operations:
      - name: deleteproject
        method: DELETE
        description: Delete a project
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateproject
        method: PUT
        description: Update a project
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: projects-projectid-users
      path: /projects/{projectId}/users
      operations:
      - name: getprojectusers
        method: GET
        description: Get project users
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: addprojectusers
        method: POST
        description: Add users to a project
        inputParameters:
        - name: projectId
          in: path
          type: string
          required: true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    port: 8080
    namespace: n8n-rest
    description: REST adapter for n8n Public API.
    resources:
    - path: /audit
      name: generateaudit
      operations:
      - method: POST
        name: generateaudit
        description: Generate an audit
        call: n8n.generateaudit
        outputParameters:
        - type: object
          mapping: $.
    - path: /credentials
      name: createcredential
      operations:
      - method: POST
        name: createcredential
        description: Create a credential
        call: n8n.createcredential
        outputParameters:
        - type: object
          mapping: $.
    - path: /credentials/{id}
      name: deletecredential
      operations:
      - method: DELETE
        name: deletecredential
        description: Delete credential by ID
        call: n8n.deletecredential
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /credentials/{id}/test
      name: testcredential
      operations:
      - method: POST
        name: testcredential
        description: Test a credential
        call: n8n.testcredential
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /credentials/schema/{credentialTypeName}
      name: getcredentialschema
      operations:
      - method: GET
        name: getcredentialschema
        description: Show credential data schema
        call: n8n.getcredentialschema
        with:
          credentialTypeName: rest.credentialTypeName
        outputParameters:
        - type: object
          mapping: $.
    - path: /credentials/{id}/transfer
      name: transfercredential
      operations:
      - method: PUT
        name: transfercredential
        description: Transfer a credential to another project
        call: n8n.transfercredential
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /executions
      name: getexecutions
      operations:
      - method: GET
        name: getexecutions
        description: Retrieve all executions
        call: n8n.getexecutions
        outputParameters:
        - type: object
          mapping: $.
    - path: /executions/{id}
      name: getexecution
      operations:
      - method: GET
        name: getexecution
        description: Retrieve an execution
        call: n8n.getexecution
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /executions/{id}
      name: deleteexecution
      operations:
      - method: DELETE
        name: deleteexecution
        description: Delete an execution
        call: n8n.deleteexecution
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /executions/{id}/retry
      name: retryexecution
      operations:
      - method: POST
        name: retryexecution
        description: Retry an execution
        call: n8n.retryexecution
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /executions/{id}/stop
      name: stopexecution
      operations:
      - method: POST
        name: stopexecution
        description: Stop an execution
        call: n8n.stopexecution
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /executions/stop
      name: stopexecutions
      operations:
      - method: POST
        name: stopexecutions
        description: Stop multiple executions
        call: n8n.stopexecutions
        outputParameters:
        - type: object
          mapping: $.
    - path: /executions/{id}/tags
      name: updateexecutiontags
      operations:
      - method: PUT
        name: updateexecutiontags
        description: Update tags on an execution
        call: n8n.updateexecutiontags
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /tags
      name: createtag
      operations:
      - method: POST
        name: createtag
        description: Create a tag
        call: n8n.createtag
        outputParameters:
        - type: object
          mapping: $.
    - path: /tags
      name: gettags
      operations:
      - method: GET
        name: gettags
        description: Retrieve all tags
        call: n8n.gettags
        outputParameters:
        - type: object
          mapping: $.
    - path: /tags/{id}
      name: gettag
      operations:
      - method: GET
        name: gettag
        description: Retrieves a tag
        call: n8n.gettag
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /tags/{id}
      name: deletetag
      operations:
      - method: DELETE
        name: deletetag
        description: Delete a tag
        call: n8n.deletetag
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /tags/{id}
      name: updatetag
      operations:
      - method: PUT
        name: updatetag
        description: Update a tag
        call: n8n.updatetag
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /workflows
      name: createworkflow
      operations:
      - method: POST
        name: createworkflow
        description: Create a workflow
        call: n8n.createworkflow
        outputParameters:
        - type: object
          mapping: $.
    - path: /workflows
      name: getworkflows
      operations:
      - method: GET
        name: getworkflows
        description: Retrieve all workflows
        call: n8n.getworkflows
        outputParameters:
        - type: object
          mapping: $.
    - path: /workflows/{id}
      name: getworkflow
      operations:
      - method: GET
        name: getworkflow
        description: Retrieves a workflow
        call: n8n.getworkflow
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /workflows/{id}
      name: deleteworkflow
      operations:
      - method: DELETE
        name: deleteworkflow
        description: Delete a workflow
        call: n8n.deleteworkflow
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /workflows/{id}
      name: updateworkflow
      operations:
      - method: PUT
        name: updateworkflow
        description: Update a workflow
        call: n8n.updateworkflow
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /workflows/{id}/{versionId}
      name: getworkflowversion
      operations:
      - method: GET
        name: getworkflowversion
        description: Retrieves a specific version of a workflow
        call: n8n.getworkflowversion
        with:
          id: rest.id
          versionId: rest.versionId
        outputParameters:
        - type: object
          mapping: $.
    - path: /workflows/{id}/activate
      name: activateworkflow
      operations:
      - method: POST
        name: activateworkflow
        description: Activate a workflow
        call: n8n.activateworkflow
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /workflows/{id}/deactivate
      name: deactivateworkflow
      operations:
      - method: POST
        name: deactivateworkflow
        description: Deactivate a workflow
        call: n8n.deactivateworkflow
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /workflows/{id}/archive
      name: archiveworkflow
      operations:
      - method: POST
        name: archiveworkflow
        description: Archive a workflow
        call: n8n.archiveworkflow
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /workflows/{id}/unarchive
      name: unarchiveworkflow
      operations:
      - method: POST
        name: unarchiveworkflow
        description: Unarchive a workflow
        call: n8n.unarchiveworkflow
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /workflows/{id}/transfer
      name: transferworkflow
      operations:
      - method: PUT
        name: transferworkflow
        description: Transfer a workflow to another project
        call: n8n.transferworkflow
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /workflows/{id}/tags
      name: getworkflowtags
      operations:
      - method: GET
        name: getwor

# --- truncated at 32 KB (65 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/n8n/refs/heads/main/capabilities/n8n-capability.yaml