N8n · Capability

n8n Public API — Execution

n8n Public API — Execution. 7 operations. Lead operation: Retrieve all executions. Self-contained Naftiko capability covering one N8n business surface.

Run with Naftiko N8nExecution

What You Can Do

GET
Getexecutions — Retrieve all executions
/v1/executions
POST
Stopexecutions — Stop multiple executions
/v1/executions/stop
GET
Getexecution — Retrieve an execution
/v1/executions/{id}
DELETE
Deleteexecution — Delete an execution
/v1/executions/{id}
POST
Retryexecution — Retry an execution
/v1/executions/{id}/retry
POST
Stopexecution — Stop an execution
/v1/executions/{id}/stop
PUT
Updateexecutiontags — Update tags on an execution
/v1/executions/{id}/tags

MCP Tools

retrieve-all-executions

Retrieve all executions

read-only idempotent
stop-multiple-executions

Stop multiple executions

retrieve-execution

Retrieve an execution

read-only idempotent
delete-execution

Delete an execution

idempotent
retry-execution

Retry an execution

stop-execution

Stop an execution

update-tags-execution

Update tags on an execution

idempotent

Capability Spec

n8n-execution.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: n8n Public API — Execution
  description: 'n8n Public API — Execution. 7 operations. Lead operation: Retrieve all executions. Self-contained Naftiko
    capability covering one N8n business surface.'
  tags:
  - N8n
  - Execution
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    N8N_API_KEY: N8N_API_KEY
capability:
  consumes:
  - type: http
    namespace: n8n-execution
    baseUri: https://app.n8n.cloud/api/v1
    description: n8n Public API — Execution business capability. Self-contained, no shared references.
    resources:
    - name: executions
      path: /executions
      operations:
      - name: getexecutions
        method: GET
        description: Retrieve all executions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        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
    - 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
      path: /executions/{id}
      operations:
      - name: getexecution
        method: GET
        description: Retrieve an execution
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: number
          required: true
        - name: includeData
          in: query
          type: boolean
      - name: deleteexecution
        method: DELETE
        description: Delete an execution
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: number
          required: true
    - name: executions-id-retry
      path: /executions/{id}/retry
      operations:
      - name: retryexecution
        method: POST
        description: Retry an execution
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: number
          required: true
    - name: executions-id-stop
      path: /executions/{id}/stop
      operations:
      - name: stopexecution
        method: POST
        description: Stop an execution
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: number
          required: true
    - name: executions-id-tags
      path: /executions/{id}/tags
      operations:
      - name: updateexecutiontags
        method: PUT
        description: Update tags on an execution
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: number
          required: true
    authentication:
      type: bearer
      token: '{{env.N8N_API_KEY}}'
  exposes:
  - type: rest
    namespace: n8n-execution-rest
    port: 8080
    description: REST adapter for n8n Public API — Execution. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/executions
      name: executions
      description: REST surface for executions.
      operations:
      - method: GET
        name: getexecutions
        description: Retrieve all executions
        call: n8n-execution.getexecutions
        with:
          includeData: rest.includeData
          status: rest.status
          workflowId: rest.workflowId
          projectId: rest.projectId
          limit: rest.limit
          cursor: rest.cursor
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/executions/stop
      name: executions-stop
      description: REST surface for executions-stop.
      operations:
      - method: POST
        name: stopexecutions
        description: Stop multiple executions
        call: n8n-execution.stopexecutions
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/executions/{id}
      name: executions-id
      description: REST surface for executions-id.
      operations:
      - method: GET
        name: getexecution
        description: Retrieve an execution
        call: n8n-execution.getexecution
        with:
          id: rest.id
          includeData: rest.includeData
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteexecution
        description: Delete an execution
        call: n8n-execution.deleteexecution
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/executions/{id}/retry
      name: executions-id-retry
      description: REST surface for executions-id-retry.
      operations:
      - method: POST
        name: retryexecution
        description: Retry an execution
        call: n8n-execution.retryexecution
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/executions/{id}/stop
      name: executions-id-stop
      description: REST surface for executions-id-stop.
      operations:
      - method: POST
        name: stopexecution
        description: Stop an execution
        call: n8n-execution.stopexecution
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/executions/{id}/tags
      name: executions-id-tags
      description: REST surface for executions-id-tags.
      operations:
      - method: PUT
        name: updateexecutiontags
        description: Update tags on an execution
        call: n8n-execution.updateexecutiontags
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: n8n-execution-mcp
    port: 9090
    transport: http
    description: MCP adapter for n8n Public API — Execution. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: retrieve-all-executions
      description: Retrieve all executions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: n8n-execution.getexecutions
      with:
        includeData: tools.includeData
        status: tools.status
        workflowId: tools.workflowId
        projectId: tools.projectId
        limit: tools.limit
        cursor: tools.cursor
      outputParameters:
      - type: object
        mapping: $.
    - name: stop-multiple-executions
      description: Stop multiple executions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: n8n-execution.stopexecutions
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-execution
      description: Retrieve an execution
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: n8n-execution.getexecution
      with:
        id: tools.id
        includeData: tools.includeData
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-execution
      description: Delete an execution
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: n8n-execution.deleteexecution
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: retry-execution
      description: Retry an execution
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: n8n-execution.retryexecution
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: stop-execution
      description: Stop an execution
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: n8n-execution.stopexecution
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-tags-execution
      description: Update tags on an execution
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: n8n-execution.updateexecutiontags
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.