What a service's containers get
GET
The variables of the project, its environment and the service, merged with the narrowest winning, as the next deployment will use them. Secrets come without their value.
bearerheader
AuthorizationBearer <token>An API key (opk_…) or a CLI token (opc_…).
serviceId*stringThe service's id.
What a service's containers get
application/json- response
data*array<>curl "https://openpanel.sh/api/v1/services/$SERVICE_ID/env" \ -H "Authorization: Bearer $OPENPANEL_TOKEN"Example response
{ "data": [ { "name": "string", "value": "string", "secret": true, "scope": "project", "variableId": "eae575ee-abaf-4fe6-839b-c9f504c6a4a0" } ]}