Skip to the page

A service's variables and where each comes from

GET/v1/organisations/{id}/environments/{envId}/resources/{rid}/variables

Operation secrets.variables · since 2026-11-05 · stable

Needs a session withreadscopeAnswers200 OK

What the service receives and where each comes from; values of plain variables only, never a secret's.

Path parameters

idstring (uuid)required
The organisation id.
envIdstring (uuid)required
The environment id.
ridstringrequired
The service's id.

Errors

Every error is { "error", "message", "detail"? } (Errors and references). Besides the codes any route can answer.

GET/v1/organisations/{id}/environments/{envId}/resources/{rid}/variables
curl "https://api.rykloud.com/v1/organisations/$ORG_ID/environments/$ENV_ID/resources/$RESOURCE_ID/variables" \
  -H "Authorization: Bearer $RYKLOUD_TOKEN"
With the rykloud CLI
rykloud services variables SERVICE

Command reference: rykloud services variables