Retrieve the environment variables of a project by id or name
Retrieve the environment variables for a given project by passing either the project id
or name
in the URL.
Authorizations
Default authentication mechanism
Path Parameters
The unique project identifier or the project name
"prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA"
Query Parameters
If defined, the git branch of the environment variable to filter the results (must have target=preview)
250
"feature-1"
If true, the environment variable value will be decrypted
true
, false
"true"
The source that is calling the endpoint.
"vercel-cli:pull"
The unique custom environment identifier within the project
"env_123abc4567"
The custom environment slug (name) within the project
"my-custom-env"
The Team identifier to perform the request on behalf of.
"team_1a2b3c4d5e6f7g8h9i0j1k2l"
The Team slug to perform the request on behalf of.
"my-team-url-slug"
Response
production
, preview
, development
, preview
, development
system
, encrypted
, plain
, sensitive
, secret
This is used to identiy variables that have been migrated from type secret to sensitive.
Similar to contentHints
, but should not be exposed to the user.
Whether value
and vsmValue
are decrypted.
production
, preview
, development
, preview
, development
system
, encrypted
, plain
, sensitive
, secret
This is used to identiy variables that have been migrated from type secret to sensitive.
Similar to contentHints
, but should not be exposed to the user.
Whether value
and vsmValue
are decrypted.
This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data.
The list of environment variables for the given project