Sign in

Get environment variable

documented

Retrieve a specific environment variable for a project.

GET /v10/projects/{idOrName}/env/{id}Projectsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.vercel.com/v1/projects/{{$idOrName}}/env/{{$id}}?teamId={{team_id}}&slug={{slug}}" \
  -X GET \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json"
Get environment variable · Vercel · OpenIntegrations