---
title: "Refresh Materialized Query"
method: POST
path: "/data/projects/{projectId}/materialized-queries/{queryId}/refresh"
tags: ["Data -- Materialized Queries"]
---

# Refresh Materialized Query

`POST /data/projects/{projectId}/materialized-queries/{queryId}/refresh`

## Request

- Base URL: `https://partner.peaka.studio/api/v1`
- URL: `https://partner.peaka.studio/api/v1/data/projects/{projectId}/materialized-queries/{queryId}/refresh`
- Auth: HTTP bearer

Triggers an immediate refresh of a materialized query. If the query has an existing schedule, the scheduled workflow is invoked; otherwise a one-time refresh is started.

## Path parameters

- `projectId` string, required
- `queryId` string, required

## Response `200`

Refresh request accepted

---

[API](https://skmtc.dev/peaka/apis/peaka-gateway-api.md) · [All operations](https://skmtc.dev/peaka/apis/peaka-gateway-api/llms.txt) · [OpenAPI document](https://skmtc.dev/peaka/apis/peaka-gateway-api/revisions/e68b033a22d5?raw)
