---
title: "Count Delete Events"
method: POST
path: "/admin/delete-events/count"
---

# Count Delete Events

`POST /admin/delete-events/count`

Count the raw_events_v2 rows a delete with these filters would match.

## Headers

- `Authorization` string, nullable

## Cookies

- `session_id` string, nullable

## Request body

- DeleteEventsRequest
  - `user_id` integer, required
  - `event_names` string[], required
  - `datasource_id` integer, nullable
  - `since` string, date-time, nullable
  - `until` string, date-time, nullable

## Response `200`

Successful Response

- DeleteEventsCountResponse
  - `count` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/runconverge/apis/fastapi.md) · [All operations](https://skmtc.dev/runconverge/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runconverge/fastapi/revisions/1452e350bd1d/schema)
