Skip to content

Reveal a variable's value

GET/api/v1/deploy/variables/{id}/value

Needs an API key in the Authorization header.

On this page

Parameters

FieldInTypeDescription
idrequiredpathstring
  • format: uuid
formatquerystring
text answers in plain text instead of JSON
  • one of: json, text

Example request

curl -X GET "https://polaris.example.com/api/v1/deploy/variables/{id}/value" \
  -H "Authorization: Bearer $POLARIS_API_KEY"

Responses

StatusMeaning
200OK

Can also answer the common errors 400, 401, 403, 404, 429. See common errors