---
title: "Refresh pre-aggregate by definition name"
method: POST
path: "/api/v1/projects/{projectUuid}/pre-aggregates/definitions/{preAggregateDefinitionName}/refresh"
tags: ["Projects"]
---

# Refresh pre-aggregate by definition name

`POST /api/v1/projects/{projectUuid}/pre-aggregates/definitions/{preAggregateDefinitionName}/refresh`

Refresh a single pre-aggregate by its definition name

## Path parameters

- `projectUuid` string, required
- `preAggregateDefinitionName` string, required

## Response `200`

Success

- ApiSuccessJobIdsStringArray
  - `results` object, required
    - `jobIds` string[], required
  - `status` 'ok', required

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/lightdash/apis/lightdash-api.md) · [All operations](https://skmtc.dev/lightdash/apis/lightdash-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lightdash/lightdash-api/revisions/40c933755c9a/schema)
