PortainerCE API
Portainer API is an HTTP API served by Portainer. It is used by the Portainer UI and everything you can do with the UI can be done using the HTTP API. Examples are available at https://documentation.portainer.io/api/api-examples/ You can find out more about Portainer at [http://portainer.io](http://portainer.io) and get some support on [Slack](http://portainer.io/slack/). # Authentication Most of the API environments(endpoints) require to be authenticated as well as some level of authorization to be used. Portainer API uses JSON Web Token to manage authentication and thus requires you to provi
What You Can Do
MCP Tools
authenticateuser
Authenticate
logout
Logout
validateoauth
Authenticate with OAuth
backup
Creates an archive with a system data snapshot that could be used to restore the system.
customtemplatelist
List available custom templates
customtemplatedelete
Remove a template
customtemplateinspect
Inspect a custom template
customtemplateupdate
Update a template
customtemplatefile
Get Template stack file content.
customtemplategitfetch
Fetch the latest config file content based on custom template's git repository configuration
customtemplatecreatefile
Create a custom template
customtemplatecreaterepository
Create a custom template
customtemplatecreatestring
Create a custom template
dockercontainergpusinspect
Fetch container gpus data
dockerdashboard
Get counters for the dashboard
dockerimageslist
Fetch images
edgegrouplist
list EdgeGroups
edgegroupcreate
Create an EdgeGroup
edgegroupdelete
Deletes an EdgeGroup
edgegroupinspect
Inspects an EdgeGroup
edgegroupupdate
Updates an EdgeGroup
edgejoblist
Fetch EdgeJobs list
edgejobdelete
Delete an EdgeJob
edgejobinspect
Inspect an EdgeJob
edgejobupdate
Update an EdgeJob
edgejobfile
Fetch a file of an EdgeJob
edgejobtaskslist
Fetch the list of tasks on an EdgeJob
edgejobtasksclear
Clear the log for a specifc task on an EdgeJob
edgejobtasklogsinspect
Fetch the log for a specifc task on an EdgeJob
edgejobtaskscollect
Collect the log for a specifc task on an EdgeJob
edgejobcreatefile
Create an EdgeJob from a file
edgejobcreatestring
Create an EdgeJob from a text
edgestacklist
Fetches the list of EdgeStacks
edgestackdelete
Delete an EdgeStack
edgestackinspect
Inspect an EdgeStack
edgestackupdate
Update an EdgeStack
edgestackfile
Fetches the stack file for an EdgeStack
edgestackstatusupdate
Update an EdgeStack status
edgestackcreatefile
Create an EdgeStack from file
edgestackcreaterepository
Create an EdgeStack from a git repository
edgestackcreatestring
Create an EdgeStack from a text
endpointgrouplist
List Environment(Endpoint) groups
post-endpoint-groups
Create an Environment(Endpoint) Group
endpointgroupdelete
Remove an environment(endpoint) group
get-endpoint-groups-id
Inspect an Environment(Endpoint) group
endpointgroupupdate
Update an environment(endpoint) group
endpointgroupdeleteendpoint
Removes environment(endpoint) from an environment(endpoint) group
endpointgroupaddendpoint
Add an environment(endpoint) to an environment(endpoint) group
endpointdeletebatchdeprecated
Remove multiple environments
endpointlist
List environments(endpoints)
endpointcreate
Create a new environment(endpoint)
endpointdelete
Remove an environment
endpointinspect
Inspect an environment(endpoint)
endpointupdate
Update an environment(endpoint)
endpointassociationdelete
De-association an edge environment(endpoint)
post-endpoints-id-docker-v2-browse-put
Upload a file under a specific path on the file system of an environment (endpoint)
endpointdockerhubstatus
fetch docker pull limits
post-endpoints-id-edge-jobs-jobid-logs
Update the logs collected from an Edge Job
get-endpoints-id-edge-stacks-stackid
Inspect an Edge Stack for an Environment(Endpoint)
endpointedgestatusinspect
Get environment(endpoint) status