---
title: "Get Global Variable Endpoint"
method: GET
path: "/workflows/v1/global-variables/{variable_id}"
tags: ["Global Variables"]
---

# Get Global Variable Endpoint

`GET /workflows/v1/global-variables/{variable_id}`

Get a single global variable by ID (full value, including secrets for editing).

## Path parameters

- `variable_id` string, required

## Response `200`

Successful Response

- GlobalVariableResponse
  - `variable` GlobalVariablesModel, required — Stores organization/team-level global variables that are automatically injected into every workflow execution for that team.
    - `team_id` string, nullable — ID of the team that owns this edge
    - `created_by` string, nullable — ID of the user who created this edge
    - `updated_by` string, nullable — ID of the user who last updated this edge
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `_id` string
    - `name` string, required — Unique variable name per team (valid identifier: alphanumeric + underscore)
    - `value` string — Variable value — supports large text (e.g. long system prompts, JSON configs)
    - `description` string, nullable — Human-readable description of the variable's purpose
    - `category` string, nullable — Grouping label (e.g. 'Prompts', 'Config', 'Credentials')
    - `is_secret` boolean — If True, the value is masked in list responses

## Other responses

- `422` — Validation Error

---

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