Projects

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

Changed on

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)
  • Auth
    HTTP bearer

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

    • info

      the endpoint scheme security bearer_auth was added to the API

    • breaking

      added subschema #1 subschema #2 to the items/source response property oneOf list for the response status

    • info

      removed subschema #1 subschema #2 from the items/source response property oneOf list for the response status