Home / Resources / API Reference

Project

Base route: /api/project

Get imported workspace variables

Retrieves a list of all workspace-level variables that have been imported into the current project scope.

Request

Parameters
projectId
string
required
The identifier of the project to query.
Query string

GET /api/project/workspace-variables? projectId=...

Response

Parameters
workspaceVariables
array
List of variables imported from the workspace.
Response body

{   "projectId": "string",   "workspaceVariables": [     {       "projectVariableId": "string",       "name": "string",       "variableType": "string"     }   ] }