workspaces

List workspace's outputs

Changed on

This 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 URL
    https://example.scalr.io/api/iacp/v3
  • URL
    https://example.scalr.io/api/iacp/v3/workspaces/{workspace}/outputs
  • Auth
    HTTP bearer

Path parameters

workspacestring required

The workspace to list outputs for.

Query parameters

sensitiveboolean

Whether to return the values of sensitive outputs.

Response

Success.

includedobject[]
linksobject
metaobject

Changes

    • info

      added the new optional query request parameter sensitive

    • info

      added the non-success response with the status