Supercheck LogoSupercheck
Variables API

Get a variable

Retrieve a single variable. Secret values are redacted.

GET
/api/variables/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

CLI token (sck_live_*) for full API access, or trigger key (sck_trigger_* / legacy job_*) for job trigger endpoint only.

In: header

Path Parameters

id*string

Variable ID

Formatuuid

Response Body

application/json

application/json

application/json

curl -X GET "https://demo.supercheck.dev/api/variables/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "key": "string",
  "value": "string",
  "isSecret": true,
  "description": "string",
  "createdAt": "2019-08-24T14:15:22Z"
}
{
  "error": "Unauthorized"
}
{
  "error": "Not found"
}