Pantheon Public API
API by Pantheon · rest
The Pantheon Public API is a REST API for managing your Pantheon account, sites, and environments. Use it to build your own scripts, automation, and integrations, such as CI/CD pipelines or internal dashboards. Every request is authenticated with a [Personal Access Token](https://docs.pantheon.io/personal-access-tokens) and acts as you: it can only see and do what your Pantheon account can already see and do. New to the API? Start with the [Public API guide](https://docs.pantheon.io/guides/public-api).
Endpoint: https://api.pantheon.io/v1
Verification: observed. Source: crawl.
Capabilities (95)
- Get the current user
- List secrets
- Create a secret
- Update a secret
- Set a secret's environment override
- Delete a secret's environment override
- Create a site
- Look up a site ID by name
- Check whether a site name is available
- Get a site
- Enable or disable a site add-on
- Create a backup
- Restore a backup
- Search build logs by time range
- Get a build
- Get the full log for a build
- Clear a site's code cache
- Deploy an upstream to a new site
- List a site's environments
- Create the test and live environments
- Get a backup download URL
- Update a backup schedule
- Delete a backup schedule
- List backups for an environment
- List builds for an environment