Materialized Views
Refresh Materialized View
This refreshes a materialized view
POST
/
v1
/
materialized-views
/
{name}
/
refresh
- By default, the refresh runs on the
medium
engine, costing 10 credits per refresh. To boost performance, pass in a JSON body with{"performance": "large"}
, which consumes 20 credits per refresh. - If you prefer
medium
performance, you can omit theperformance
parameter. - You must own the materialized view to refresh it.
- After triggering the refresh, you can check the status by passing the returned
execution_id
into the Get Execution Status endpoint. - To find the name of a materialized view:
Headers
API Key for the service
Path Parameters
Matview Name
Query Parameters
API Key, alternative to using the HTTP header X-Dune-Api-Key
Body
*/*
Performance level of the refresh
Available options: medium
, large
, defaults to medium
Was this page helpful?