---
title: "Total activity count"
method: POST
path: "/datasets/{handle}/activity/count"
tags: ["audit"]
---

# Total activity count

`POST /datasets/{handle}/activity/count`

Get total activity count on the given sheet.

## Path parameters

- `handle` string, required

## Request body

- AuditsSearchRequest — parameters to search activity history. Nonblank criteria will be and-ed together, multivalue fields or-ed.
  - `Actions` string[] — Matches Action.Name fields
  - `Categories` AuditCategory[]
  - `End` string, dateTime
  - `Page` integer
  - `PageSize` integer
  - `Query` string — Freeform search
  - `Start` string, dateTime
  - `Users` string[]

## Response `200`

OK

- AuditsCountResponse
  - `count` integer
  - `message` string — Just to be similar to Response{}
  - `success` boolean — Just to be similar to Response{}

## 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/revisions/d1e5cbb24557/schema)
