[Experimental]

List environment variables

⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️

Returns a paginated list of environment variables. All filters are optional; combine projectId, class, and key to look up a specific variable by name.

get/v1/environment-variables

Request

  • Base URL: https://api.prisma.io
  • URL: https://api.prisma.io/v1/environment-variables
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://auth.prisma.io/authorize, token URL https://auth.prisma.io/token, scopes: workspace:admin, offline_access)
    • HTTP bearer

Query parameters

cursorstring nullable

Cursor for pagination

limitnumber

Limit for pagination

projectIdstring
class'production' | 'preview'
keystring
branchIdstring

Response

Returned the page of environment variables.

Changes

No recorded changes to this operation across all 1 revision of this API.