n8n

n8n N8n Package API

Beta — breaking changes may still occur without major version bump.

GitHub OpenAPI

Operations 2

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

POST /n8n-packages/export Export workflows, folders or projects as a package · Beta: Export workflows, folders, or projects as an n8n package #
Ask an LLM
“How do I bundle my workflows and folders into a single n8n package?”
“Can I include credential values and variable values when exporting a package?”
Tell an agent
Export workflows {workflowIds} as an n8n package.
Package workflows {workflowIds} and folders {folderIds} with credential policy {credentialExportPolicy}.
POST /n8n-packages/import Import an n8n package into a project · Beta: Import an n8n package into a project #
Ask an LLM
“How do I import a .n8np package into a project?”
“Can I choose what happens when a workflow in the package already exists in the target project?”
Tell an agent
Import package {package} into project {projectId}.
Import package {package} into folder {folderId} with workflow conflict policy {workflowConflictPolicy}.

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-n8npackage-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-n8npackage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: n8n Public N8n Package API
  description: n8n Public API
  termsOfService: https://n8n.io/legal/#terms
  contact:
    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: /api/v1
  description: Current n8n instance (self-hosted built-in playground)
- url: '{url}/api/v1'
  description: Self-hosted n8n instance
  variables:
    url:
      default: https://example.com
security:
- ApiKeyAuth: []
- BearerAuth: []
- CookieAuth: []
tags:


# --- truncated at 32 KB (82 KB total) ---
# Full source: https://artifacts.apis.io/n8n/openapi/n8n-n8npackage-api-openapi.yml