drifted-workspaces

List drifted workspaces.

This endpoint lists drifted workspaces.

get/reports/environments/{environment}/drifted-workspaces

Request

  • Base URL: https://example.scalr.io/api/iacp/v3
  • URL: https://example.scalr.io/api/iacp/v3/reports/environments/{environment}/drifted-workspaces
  • Auth: HTTP bearer

Path parameters

environmentstring required

The ID of the environment

Query parameters

filter[status]string

Filter by drift report status.

filter[is-drifted]boolean

Filter by whether the workspace has detected resource drift.

filter[tag]string

Filter by workspace tags.

filter[last-check-at]string

Filter by last drift check date range. Example: filter[last-check-at]=between:2026-01-01T00:00:00Z,2026-02-01T00:00:00Z.

querystring

The search string. Supports search by workspace id or workspace name.

page[number]string

Page number

page[size]string

Page size

sortstring[]

The comma-separated list of attributes. status sorts by priority: awaiting_manual_action and errored first, no_drift_detected last. Ties are ordered by workspace name.

formatstring

Format of the response. It can be 'json' or 'csv'.

Response

Success.

includedobject[]
linksobject
metaobject

Changes

No recorded changes to this operation across all 1 revision of this API.