workspaces
List workspace's outputs
Changed onThis endpoint returns a list of outputs from current state version run output. Depending on the account settings, a run of another workspace can read them only if the workspace state sharing settings allow it. Sensitive output values are null unless sensitive=true is requested. That requires the state-versions:read permission, and for a run of another workspace, access through the workspace state sharing settings. Sensitive values stay null when Scalr does not store the workspace state or it uses OpenTofu state encryption.
get/workspaces/{workspace}/outputs
Request
- Base URLhttps://example.scalr.io/api/iacp/v3
- URLhttps://example.scalr.io/api/iacp/v3/workspaces/{workspace}/outputs
- AuthHTTP bearer
Path parameters
workspacestring required
The workspace to list outputs for.
Query parameters
sensitiveboolean
Whether to return the values of sensitive outputs.
Response
Success.
Changes
- info
added the new optional
queryrequest parametersensitive - info
added the non-success response with the status
- info