---
title: "Refresh Stats Rollup All Automations"
method: POST
path: "/v1/stats/refresh_rollup_all_automations"
tags: ["stats"]
---

# Refresh Stats Rollup All Automations

`POST /v1/stats/refresh_rollup_all_automations`

## Request

- Base URL: `https://api.linktodm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.linktodm.com/v1/stats/refresh_rollup_all_automations`
- Auth: none declared

## Headers

- `x-admin-api-key` string

## Response `200`

Successful Response

- RefreshStatsRollupDispatchResponse: Response from the rollup-refresh dispatcher. `dispatched` is the number of per-automation tasks successfully enqueued onto the GCP Cloud Tasks queue; `failed` is the number that raised during enqueue (each failure is logged with its automation_id and kind).
  - `dispatched` integer, required
  - `failed` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/linktodm/apis/salesmorph.md) - [All operations](https://skmtc.dev/linktodm/apis/salesmorph/llms.txt) - [OpenAPI document](https://skmtc.dev/linktodm/apis/salesmorph/revisions/4af0ad5dbe92?raw)
