n8n

N8n Execution API

Operations about executions

GitHub OpenAPI

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /executions List workflow executions · Retrieve all executions #
Ask an LLM
“Which workflows ran in my instance last week?”
“Can I filter executions by status or workflow?”
Tell an agent
List all executions.
Show {status} executions of workflow {workflowId}.
GET /executions/{id} Get one workflow execution · Retrieve an execution #
Ask an LLM
“What happened in a specific workflow run?”
“Can I see the full output of one execution?”
Tell an agent
Show execution {id}.
Get the output of execution {id}.
DELETE /executions/{id} Delete a workflow execution · Delete an execution #
Ask an LLM
“Can I remove an old workflow run from the history?”
“Is it possible to delete a single execution?”
Tell an agent destructive · confirm first
Delete execution {id}.
Remove the old run {id} from history.
POST /executions/{id}/retry Retry a failed workflow run · Retry an execution #
Ask an LLM
“How do I rerun a workflow that failed?”
“Can I retry one execution without touching the rest?”
Tell an agent
Retry execution {id}.
Rerun the failed run {id}.
POST /executions/{id}/stop Stop a running workflow execution · Stop an execution #
Ask an LLM
“Can I halt a workflow that is still running?”
“How do I stop one execution in progress?”
Tell an agent destructive · confirm first
Stop execution {id}.
Halt the running workflow {id}.
POST /executions/stop Stop several running workflows · Stop multiple executions #
Ask an LLM
“Can I stop multiple workflows at once?”
“How do I halt all running executions in one call?”
Tell an agent destructive · confirm first
Stop all running executions.
Halt every workflow that is still running.
PUT /executions/{id}/tags Update tags on an execution · Update tags on an execution #
Ask an LLM
“Can I add or change tags on a workflow run?”
“How do I retag an execution?”
Tell an agent
Update the tags on execution {id}.
Retag run {id} with new labels.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/n8n:n8n-execution-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

n8n-execution-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: n8n Public Execution 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.
  termsOfService: https://n8n.io/legal/#terms
  contact:
    name: n8n
    url: https://n8n.io/
    email: hello@n8n.io
  license:
    name: Sustainable Use License
    url: https://github.com/n8n-io/n8n/blob/master/LICENSE.md
  version: 1.1.1
servers:
- url: https://app.n8n.cloud/api/v1
  description: n8n Cloud
- url: '{baseUrl}/api/v1'
  description: Self-hosted n8n
  variables:
    baseUrl:
      default: http://localhost:5678
security:
- ApiKeyAuth: []
- BearerAuth: []
tags:
- name: Execution
  description: Operations about executions
paths:
  /executions:
    get:
      tags:
      - Execution
      summary: Retrieve all executions
      operationId: getExecutions
      description: Retrieve all executions from your instance.
      parameters:
      - name: includeData
        in: query
        schema:
          type: boolean
      - name: status
        in: query
        schema:
          type: string
          enum:
          - error
          - success
          - waiting
      - name: workflowId
        in: query
        schema:
          type: string
      - name: projectId
        in: query
        schema:
          type: string
      - name: limit
        in: query
        schema:
          type: number
          default: 100
      - name: cursor
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Operation successful.
  /executions/{id}:
    get:
      tags:
      - Execution
      summary: Retrieve an execution
      operationId: getExecution
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: number
      - name: includeData
        in: query
        schema:
          type: boolean
      responses:
        '200':
          description: Operation successful.
    delete:
      tags:
      - Execution
      summary: Delete an execution
      operationId: deleteExecution
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: number
      responses:
        '200':
          description: Operation successful.
  /executions/{id}/retry:
    post:
      tags:
      - Execution
      summary: Retry an execution
      operationId: retryExecution
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: number
      responses:
        '200':
          description: Operation successful.
  /executions/{id}/stop:
    post:
      tags:
      - Execution
      summary: Stop an execution
      operationId: stopExecution
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: number
      responses:
        '200':
          description: Operation successful.
  /executions/stop:
    post:
      tags:
      - Execution
      summary: Stop multiple executions
      operationId: stopExecutions
      responses:
        '200':
          description: Operation successful.
  /executions/{id}/tags:
    put:
      tags:
      - Execution
      summary: Update tags on an execution
      operationId: updateExecutionTags
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: number
      responses:
        '200':
          description: Operation successful.
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-N8N-API-KEY
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
externalDocs:
  description: n8n API documentation
  url: https://docs.n8n.io/api/