External DocumentationTo learn more, visit the Terraform Cloud documentation.
Actions
List Variables
List all variables, filter by workspace and organization.

Preview this Workflow on desktop
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Description |
|---|---|
| Organization | The name of the organization that owns the desired workspace. |
| Workspace Name | The name of one workspace to list variables for. |
{
"data": [
{
"id": "var-AD4pibb9nxo1468E",
"type": "vars",
"attributes": {
"key": "name",
"value": "hello",
"description": "some description",
"sensitive": false,
"category": "terraform",
"hcl": false
},
"relationships": {
"configurable": {
"data": {
"id": "ws-cZE9LERN3rGPRAmH",
"type": "workspaces"
},
"links": {
"related": "/api/v2/organizations/my-organization/workspaces/my-workspace"
}
}
},
"links": {
"self": "/api/v2/vars/var-AD4pibb9nxo1468E"
}
}
]
}
Was this page helpful?