Home / Resources / API Reference

Workspace Variable

Base route: /api/workspace-variable

Create workspace variable value

Assigns a specific value to a variable, optionally applying filters to scope the value to certain environments, machines, or tags.

Request

Parameters
variableId
string
required
The ID of the parent variable.
theValue
string
required
The value to be stored.
environmentsFilter
array
optional
List of environment IDs where this value applies.
Request body

POST /api/workspace-variable/value {   "variableId": "string",   "theValue": "string",   "environmentsFilter": ["string"],   "machineFilter": ["string"],   "tagFilter": [{ "tagIds": ["string"] }] }

Response

Parameters
variableValueId
string
The unique identifier for this specific value assignment.
Response body

{   "variableValueId": "string" }