---
title: "The check's resolved variable set, with the scope each name comes from"
method: GET
path: "/api/{org_id}/synthetics/{id}/resolved-variables"
tags: ["Synthetics"]
---

# The check's resolved variable set, with the scope each name comes from

`GET /api/{org_id}/synthetics/{id}/resolved-variables`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/synthetics/{id}/resolved-variables`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/synthetics/:id/resolved-variables/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `org_id` string, required
- `id` string, required

## Query parameters

- `envs` string

## Response `200`

Success

- union
  - ResolvedVariableView[]
    - `description` string, required
    - `example` string, required
    - `has_value` boolean, required
    - `kind` 'plain' | 'secret', required: Whether a value is ever readable again after it is written.
    - `name` string, required
    - `overridden` boolean, required
    - `scope` string, required: `global`, an environment name, or `check`.
  - ResolvedVariablesGrouped: Every environment's resolved set in one response, keyed by environment name.
    - `environments` string[], required: Environment names in the check's stored order; a single `""` when unscoped.
    - `resolved` object, required

## Other responses

- `404`: Not found

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
