---
title: "Set aggregations"
method: PUT
path: "/client-state/{handle}/aggregations"
tags: ["file"]
---

# Set aggregations

`PUT /client-state/{handle}/aggregations`

Set aggregations in the client state of a sheet.

## Path parameters

- `handle` string, required

## Request body

- ClientstateSetAggregationsRequest
  - `aggregations` ClientstateAggregation[]
    - `aggregation` string
    - `column` string

## Response `200`

OK

- unknown

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.net/freshdesk/apis/gigasheet-api.md) · [All operations](https://skmtc.net/freshdesk/apis/gigasheet-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/freshdesk/gigasheet-api/versions/d1e5cbb24557/schema)
