---
title: "Get Variable by ID"
method: GET
path: "/streaming/v2/variables/{id}"
tags: ["variable"]
---

# Get Variable by ID

`GET /streaming/v2/variables/{id}`

Retrieves the details of a variable using its ID.

## Path parameters

- `id` string, uuid, required

## Response `200`

Variable details returned

- Variable
  - `id` string, uuid, required
  - `name` string, required
  - `description` string
  - `type` 'number' | 'bool' | 'string', required
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.dev/blockdaemon/apis/staking-api.md) · [All operations](https://skmtc.dev/blockdaemon/apis/staking-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/blockdaemon/staking-api/revisions/f94e296a08a3/schema)
