Portainer · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for PortainerCE Stacks API
23 actions
23 updates
phrasing
extends
openapi/portainer-stacks-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Portainer's API. It is a proposal applied on top of the contract, not a document Portainer publishes.
What the actions change
x-apievangelist-phrasing
Targets 23 · first 16 shown; the file carries all of them
$.info
$.paths['/stacks'].get
$.paths['/stacks/{id}'].get
$.paths['/stacks/{id}'].put
$.paths['/stacks/{id}'].delete
$.paths['/stacks/{id}/associate'].put
$.paths['/stacks/{id}/file'].get
$.paths['/stacks/{id}/git'].post
$.paths['/stacks/{id}/git/redeploy'].put
$.paths['/stacks/{id}/migrate'].post
$.paths['/stacks/{id}/start'].post
$.paths['/stacks/{id}/stop'].post
$.paths['/stacks/create/kubernetes/repository'].post
$.paths['/stacks/create/kubernetes/string'].post
$.paths['/stacks/create/kubernetes/url'].post
$.paths['/stacks/create/standalone/file'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for PortainerCE Stacks API
version: 1.0.0
extends: openapi/portainer-stacks-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-19'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 22
- target: $.paths['/stacks'].get
update:
x-apievangelist-phrasing:
intent: List stacks
effect: read
questions:
- Which Docker stacks do I have access to?
- Can I filter the stack list by swarm cluster?
instructions:
- text: List all my stacks.
- text: List stacks matching {filters}.
slots:
filters: query.filters
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/{id}'].get
update:
x-apievangelist-phrasing:
intent: Inspect a stack
effect: read
questions:
- What services and endpoints does a stack run?
- Can I see the status of one stack?
instructions:
- text: Show stack {id}.
slots:
id: path.id
- text: Get the details of stack {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/{id}'].put
update:
x-apievangelist-phrasing:
intent: Update a file-based stack
effect: write
questions:
- How do I redeploy a file-based stack with a new Compose file?
- Can I prune services when updating a stack?
instructions:
- text: Update stack {id} on endpoint {endpointId} with file {StackFileContent}.
slots:
id: path.id
endpointId: query.endpointId
StackFileContent: requestBody.StackFileContent
- text: Redeploy file-based stack {id} on {endpointId} with Prune {Prune}.
slots:
id: path.id
endpointId: query.endpointId
Prune: requestBody.Prune
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Remove a stack
effect: destructive
questions:
- How do I remove a stack I no longer need?
- Can I delete an external stack?
instructions:
- text: Remove stack {id} on endpoint {endpointId}.
slots:
id: path.id
endpointId: query.endpointId
- text: Delete external stack {id} on {endpointId} with external {external}.
slots:
id: path.id
endpointId: query.endpointId
external: query.external
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/{id}/associate'].put
update:
x-apievangelist-phrasing:
intent: Associate an orphaned stack
effect: write
questions:
- How do I attach an orphaned stack to a swarm cluster?
- Can I reattach a stack that lost its environment?
instructions:
- text: Associate orphaned stack {id} to swarm {swarmId} on endpoint {endpointId}.
slots:
id: path.id
swarmId: query.swarmId
endpointId: query.endpointId
- text: Reattach stack {id} to cluster {swarmId} with orphaned {orphanedRunning}.
slots:
id: path.id
swarmId: query.swarmId
orphanedRunning: query.orphanedRunning
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/{id}/file'].get
update:
x-apievangelist-phrasing:
intent: Get a stack's Compose file
effect: read
questions:
- What does the Compose file of a stack look like?
- Can I view the stack file content?
instructions:
- text: Show the stack file of stack {id}.
slots:
id: path.id
- text: Get the Compose file content for stack {id}.
slots:
id: path.id
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/{id}/git'].post
update:
x-apievangelist-phrasing:
intent: Update a stack's Git settings
effect: write
questions:
- How do I turn on Git auto-update for a stack?
- Can I change the Git branch a stack tracks?
instructions:
- text: Set Git auto-update to {AutoUpdate} for stack {id}.
slots:
AutoUpdate: requestBody.AutoUpdate
id: path.id
- text: Point stack {id} at Git branch {RepositoryReferenceName}.
slots:
id: path.id
RepositoryReferenceName: requestBody.RepositoryReferenceName
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/{id}/git/redeploy'].put
update:
x-apievangelist-phrasing:
intent: Pull and redeploy a Git stack
effect: write
questions:
- How do I pull the latest Git changes and redeploy a stack?
- Can I force a Git stack to repull images?
instructions:
- text: Redeploy Git stack {id} on endpoint {endpointId}.
slots:
id: path.id
endpointId: query.endpointId
- text: Pull and redeploy stack {id} with RepullImageAndRedeploy {RepullImageAndRedeploy}.
slots:
id: path.id
RepullImageAndRedeploy: requestBody.RepullImageAndRedeploy
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/{id}/migrate'].post
update:
x-apievangelist-phrasing:
intent: Migrate a stack to another environment
effect: write
questions:
- How do I move a stack to another swarm cluster?
- Can I rename a stack when migrating it?
instructions:
- text: Migrate stack {id} to environment {EndpointID}.
slots:
id: path.id
EndpointID: requestBody.EndpointID
- text: Relocate stack {id} to {EndpointID} and rename it {Name}.
slots:
id: path.id
EndpointID: requestBody.EndpointID
Name: requestBody.Name
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/{id}/start'].post
update:
x-apievangelist-phrasing:
intent: Start a stopped stack
effect: write
questions:
- How do I start a stopped stack?
- Can I start a stack on a specific swarm cluster?
instructions:
- text: Start stack {id} on endpoint {endpointId}.
slots:
id: path.id
endpointId: query.endpointId
- text: Bring stopped stack {id} up on {endpointId}.
slots:
id: path.id
endpointId: query.endpointId
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/{id}/stop'].post
update:
x-apievangelist-phrasing:
intent: Stop a running stack
effect: write
questions:
- How do I stop a running stack?
- Can I pause a stack's services?
instructions:
- text: Stop stack {id} on endpoint {endpointId}.
slots:
id: path.id
endpointId: query.endpointId
- text: Pause running stack {id} on {endpointId}.
slots:
id: path.id
endpointId: query.endpointId
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/create/kubernetes/repository'].post
update:
x-apievangelist-phrasing:
intent: Deploy a Kubernetes stack from Git
effect: write
questions:
- How do I deploy a Kubernetes stack from a Git repository?
- Can I skip TLS verification when pulling a Git repo for a Kubernetes stack?
instructions:
- text: Deploy Kubernetes stack {StackName} from Git {RepositoryURL} on endpoint {endpointId}.
slots:
StackName: requestBody.StackName
RepositoryURL: requestBody.RepositoryURL
endpointId: query.endpointId
- text: Create a Kubernetes stack from {RepositoryURL} on {endpointId} with TLS skip verify {TLSSkipVerify}.
slots:
RepositoryURL: requestBody.RepositoryURL
endpointId: query.endpointId
TLSSkipVerify: requestBody.TLSSkipVerify
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/create/kubernetes/string'].post
update:
x-apievangelist-phrasing:
intent: Deploy a Kubernetes stack from a file
effect: write
questions:
- How do I deploy a Kubernetes stack from a file on an endpoint?
- Can I deploy a Kubernetes stack to a specific namespace?
instructions:
- text: Deploy Kubernetes stack {StackName} from file {StackFileContent} on endpoint {endpointId}.
slots:
StackName: requestBody.StackName
StackFileContent: requestBody.StackFileContent
endpointId: query.endpointId
- text: Create a Kubernetes stack in namespace {Namespace} from {StackFileContent} on {endpointId}.
slots:
Namespace: requestBody.Namespace
StackFileContent: requestBody.StackFileContent
endpointId: query.endpointId
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/create/kubernetes/url'].post
update:
x-apievangelist-phrasing:
intent: Deploy a Kubernetes stack from a URL
effect: write
questions:
- How do I deploy a Kubernetes stack from a manifest URL?
- Can I deploy a Kubernetes stack from a public manifest URL?
instructions:
- text: Deploy Kubernetes stack {StackName} from manifest URL {ManifestURL} on endpoint {endpointId}.
slots:
StackName: requestBody.StackName
ManifestURL: requestBody.ManifestURL
endpointId: query.endpointId
- text: Create a Kubernetes stack from {ManifestURL} on {endpointId} with compose format {ComposeFormat}.
slots:
ManifestURL: requestBody.ManifestURL
endpointId: query.endpointId
ComposeFormat: requestBody.ComposeFormat
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/create/standalone/file'].post
update:
x-apievangelist-phrasing:
intent: Deploy a standalone Compose stack from a file
effect: write
questions:
- How do I deploy a standalone Compose stack from a file?
- Can I pass environment variables when creating a standalone stack?
instructions:
- text: Deploy standalone stack {Name} from file {file} on endpoint {endpointId}.
slots:
Name: requestBody.Name
file: requestBody.file
endpointId: query.endpointId
- text: Create a standalone Compose stack {Name} on {endpointId} with env {Env}.
slots:
Name: requestBody.Name
endpointId: query.endpointId
Env: requestBody.Env
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/create/standalone/repository'].post
update:
x-apievangelist-phrasing:
intent: Deploy a standalone Compose stack from Git
effect: write
questions:
- How do I deploy a standalone Compose stack from a Git repository?
- Can I authenticate with a private Git repo when creating a standalone stack?
instructions:
- text: Deploy standalone stack {Name} from Git {RepositoryURL} on endpoint {endpointId}.
slots:
Name: requestBody.Name
RepositoryURL: requestBody.RepositoryURL
endpointId: query.endpointId
- text: Create a standalone Compose stack {Name} from {RepositoryURL} on {endpointId} with username {RepositoryUsername}.
slots:
Name: requestBody.Name
RepositoryURL: requestBody.RepositoryURL
endpointId: query.endpointId
RepositoryUsername: requestBody.RepositoryUsername
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/create/standalone/string'].post
update:
x-apievangelist-phrasing:
intent: Deploy a standalone Docker Compose stack
effect: write
questions:
- How do I deploy a Docker Compose stack from a text file?
- Can I specify environment variables when deploying a standalone stack?
instructions:
- text: Deploy a Docker stack {Name} from {StackFileContent} on environment {endpointId}.
slots:
Name: requestBody.Name
StackFileContent: requestBody.StackFileContent
endpointId: query.endpointId
- text: Create standalone stack {Name} from {StackFileContent} with env vars {Env}.
slots:
Name: requestBody.Name
StackFileContent: requestBody.StackFileContent
Env: requestBody.Env
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/create/swarm/file'].post
update:
x-apievangelist-phrasing:
intent: Deploy a swarm stack from a file
effect: write
questions:
- How do I deploy a swarm stack from a file on a swarm cluster?
- Can I deploy a swarm stack to a specific swarm cluster?
instructions:
- text: Deploy swarm stack {Name} from file {file} on swarm {SwarmID} on endpoint {endpointId}.
slots:
Name: requestBody.Name
file: requestBody.file
SwarmID: requestBody.SwarmID
endpointId: query.endpointId
- text: Create a swarm stack on {SwarmID} from {file} on {endpointId}.
slots:
SwarmID: requestBody.SwarmID
file: requestBody.file
endpointId: query.endpointId
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/create/swarm/repository'].post
update:
x-apievangelist-phrasing:
intent: Deploy a swarm stack from Git
effect: write
questions:
- How do I deploy a swarm stack from a Git repository?
- Can I deploy a swarm stack from a private Git repo?
instructions:
- text: Deploy swarm stack {Name} from Git {RepositoryURL} on swarm {SwarmID} on endpoint {endpointId}.
slots:
Name: requestBody.Name
RepositoryURL: requestBody.RepositoryURL
SwarmID: requestBody.SwarmID
endpointId: query.endpointId
- text: Create a swarm stack on {SwarmID} from {RepositoryURL} on {endpointId} with branch {RepositoryReferenceName}.
slots:
SwarmID: requestBody.SwarmID
RepositoryURL: requestBody.RepositoryURL
endpointId: query.endpointId
RepositoryReferenceName: requestBody.RepositoryReferenceName
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/create/swarm/string'].post
update:
x-apievangelist-phrasing:
intent: Deploy a swarm stack from text
effect: write
questions:
- How do I deploy a swarm stack from a text snippet?
- Can I create a swarm stack from a Compose file string?
instructions:
- text: Deploy swarm stack {Name} from Compose text {StackFileContent} on swarm {SwarmID} on endpoint {endpointId}.
slots:
Name: requestBody.Name
StackFileContent: requestBody.StackFileContent
SwarmID: requestBody.SwarmID
endpointId: query.endpointId
- text: Create a swarm stack on {SwarmID} from {StackFileContent} on {endpointId} with env {Env}.
slots:
SwarmID: requestBody.SwarmID
StackFileContent: requestBody.StackFileContent
endpointId: query.endpointId
Env: requestBody.Env
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/name/{name}'].delete
update:
x-apievangelist-phrasing:
intent: Remove a Kubernetes stack
effect: destructive
questions:
- How do I remove a Kubernetes stack by name?
- Can I delete an external Swarm stack on Kubernetes?
instructions:
- text: Delete Kubernetes stack {name} from environment {endpointId}.
slots:
name: path.name
endpointId: query.endpointId
- text: Remove external Kubernetes stack {name} on environment {endpointId} with external {external}.
slots:
name: path.name
endpointId: query.endpointId
external: query.external
method: generated
generated: '2026-11-19'
- target: $.paths['/stacks/webhooks/{webhookID}'].post
update:
x-apievangelist-phrasing:
intent: Trigger a stack update from a git webhook
effect: write
questions:
- How do I trigger a stack update from a git push webhook?
- Can a git webhook update a stack?
instructions:
- text: Invoke stack webhook {webhookID}.
slots:
webhookID: path.webhookID
- text: Trigger a stack update with git webhook {webhookID}.
slots:
webhookID: path.webhookID
method: generated
generated: '2026-11-19'
Work with this as data
Every overlay 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 openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/portainer-stacks-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.