List a site's environment variables
One step with Netlify. We can help you get access.
Look something up
List a site's environment variables
with Netlify · Configuration & Secrets Management
Works with AI assistants
Use Netlify: its Netlify's API documentation Environment Variables API lets you list a site's environment variables in a single step (GET /api/v1/sites/{site_id}/env). Netlify also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- Can I get a site's environment variables without knowing the account ID?
- What environment variables does my site have for deploy previews?
Say it to your AI assistant
- List environment variables for site {site}.
- Show site {site}'s env vars in the {context} context.
For your developer
GET /api/v1/sites/{site_id}/env in Netlify's API documentation Environment Variables API. Full spec on APIs.io.