> ## Documentation Index > Fetch the complete documentation index at: https://helpcenter.autify.com/llms.txt > Use this file to discover all available pages before exploring further. # /api/workspaces/{workspaceId}/workspaceVariables > Lists the workspace's variables. Use the returned `id` values to build the `variableOverrides` of a test plan run request. ## OpenAPI ````json GET /api/workspaces/{workspaceId}/workspaceVariables { "openapi": "3.0.0", "info": { "title": "next-server", "contact": {} }, "servers": [ { "url": "{url}/nexus", "description": "Server URL", "variables": { "url": { "default": "https://nexus-server" } } } ], "security": [ { "bearerAuth": [] } ], "paths": { "/api/workspaces/{workspaceId}/workspaceVariables": { "get": { "operationId": "GetWorkspaceVariables", "responses": { "200": { "description": "Ok", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkspaceVariableListResponse" } } } } }, "description": "Lists the workspace's variables. Use the returned `id` values to build the\n`variableOverrides` of a test plan run request.", "tags": [ "Workspaces" ], "security": [], "parameters": [ { "in": "path", "name": "workspaceId", "required": true, "schema": { "type": "string" } } ] } } }, "components": { "schemas": { "WorkspaceVariableListResponse": { "properties": { "data": { "items": { "$ref": "#/components/schemas/WorkspaceVariable" }, "type": "array" } }, "required": [ "data" ], "type": "object", "additionalProperties": false }, "WorkspaceVariable": { "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "accessScope": { "type": "string", "enum": [ "default", "protected" ], "description": "This endpoint never returns the `defaultValue` of a `protected` variable." }, "defaultValue": { "type": "string", "description": "Present only for `default` scope variables." } }, "required": [ "id", "name", "accessScope" ], "type": "object", "additionalProperties": false } } } } ````