---
title: "Partially Update an Analysis Group"
method: PATCH
path: "/v1/beam/analysis-groups/{group_id}"
tags: ["Analysis Groups"]
---

# Partially Update an Analysis Group

`PATCH /v1/beam/analysis-groups/{group_id}`

Partially update an existing Analysis Group.

This endpoint accepts the same request body fields as the Create an Analysis Group endpoint.

Remember this is a PATCH endpoint which means only the fields you provide will be updated.

If you wish to replace all fields please use the PUT endpoint.

## Path parameters

- `group_id` string, required

## Request body

- PatchAnalysisGroupRequest
  - `name` string — Name of an analysis group.
  - `analysis_ids` string[] — The list of existing analysis IDs to include in the group. Analyses can belong to multiple groups. Analyses must have the same demand type (the `interval` must match and, for weekly analyses, `week_start_day` must also be consistent). Every analysis in the group must have the same `industry`, if set.
  - `demand_type` AnalysisGroupDemandTypeInput
    - `unit_descriptor` string — The description of the unit of demand, which specifies the type or measure being quantified (e.g., "Occupancy Rate", "Sales", "Number of Transactions").

## Response `202`

Successful Response

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Bearer token scope insufficient
- `404` — Analysis Group not found
- `409` — Data conflict

---

[API](https://skmtc.net/predicthq/apis/predicthq-events-api.md) · [All operations](https://skmtc.net/predicthq/apis/predicthq-events-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/predicthq/predicthq-events-api/revisions/66cd8ff349dd/schema)
