Computation

Compute change analysis

Computes change analysis for the provided execution definition.

post/api/v1/actions/workspaces/{workspaceId}/execution/computeChangeAnalysis

Request

  • Base URL
    https://www.gooddata.ai
  • Auth
    none declared

Path parameters

workspaceIdstring required

Workspace identifier

Request body

analyzedPeriodstring required

The analyzed time period (e.g., '2025-02')

excludeTagsstring[]

Exclude attributes with any of these tags. This filter applies to both auto-discovered and explicitly provided attributes.

includeTagsstring[]

Only include attributes with at least one of these tags. If empty, no inclusion filter is applied. This filter applies to both auto-discovered and explicitly provided attributes.

referencePeriodstring required

The reference time period (e.g., '2025-01')

useSmartAttributeSelectionboolean

Whether to use smart attribute selection (LLM-based) instead of discovering all valid attributes. If true, GenAI will intelligently select the most relevant attributes for change analysis. If false or not set, all valid attributes will be discovered using Calcique. Smart attribute selection applies only when no attributes are provided.

Example request

{
  "attributes": [
    {
      "label": {
        "identifier": {
          "id": "sample_item.price"
        }
      },
      "localIdentifier": "attribute_1"
    }
  ],
  "auxMeasures": [
    {
      "definition": {
        "arithmeticMeasure": {
          "measureIdentifiers": [
            {
              "localIdentifier": "sampleAutoGenerated0123_ID"
            }
          ],
          "operator": "SUM"
        }
      },
      "localIdentifier": "metric_1"
    }
  ],
  "dateAttribute": {
    "label": {
      "identifier": {
        "id": "sample_item.price"
      }
    },
    "localIdentifier": "attribute_1"
  },
  "filters": [
    {
      "rankingFilter": {
        "dimensionality": [
          {
            "localIdentifier": "sampleAutoGenerated0123_ID"
          }
        ],
        "measures": [
          {
            "localIdentifier": "sampleAutoGenerated0123_ID"
          }
        ]
      }
    }
  ],
  "measure": {
    "definition": {
      "arithmeticMeasure": {
        "measureIdentifiers": [
          {
            "localIdentifier": "sampleAutoGenerated0123_ID"
          }
        ],
        "operator": "SUM"
      }
    },
    "localIdentifier": "metric_1"
  }
}

Response

OK

Changes

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