Projects

Resolved env vars for a project (manual + integration-sourced, merged).

Returns the effective set of environment variables a deployment would see, combining manually-defined vars with those contributed by linked external services (Postgres, Redis, S3, etc.). Each entry is tagged with its source so the UI can render an integration icon, and manual entries that shadow an integration key carry a reference to the integration they override.

Values are always returned as a masked preview. Use the per-key reveal endpoint for regular plaintext values (audit-logged). Marked secrets cannot be revealed.

get/projects/{project_id}/env-vars/resolved

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/projects/{project_id}/env-vars/resolved
  • Auth: none declared

Path parameters

project_idinteger required

Project ID or slug

Query parameters

environment_idinteger

Optional environment ID to filter manual vars by

Response

Resolved environment variables

include_in_previewboolean required

Whether the var would be auto-applied to preview environments. Integration vars always surface in preview; manual vars follow the flag.

keystring required
value_previewstring required

Masked or truncated preview. Never the raw value.

Changes

No recorded changes to this operation across all 50 revisions of this API.