This refreshes a materialized view

This refreshes a materialized view

post/v1/materialized-views/{name}/refresh

Request

  • Base URL
    https://api.dune.com/api
  • URL
    https://api.dune.com/api/v1/materialized-views/{name}/refresh
  • Auth
    none declared. Required headers: X-Dune-Api-Key

Path parameters

namestring required

Matview Name

Query parameters

api_keystring

API Key, alternative to using the HTTP header X-Dune-Api-Key

Headers

X-Dune-Api-Keystring required

API Key for the service

Request body */*

performancestring

Performance tier for the refresh execution. Accepts small, medium, large. Omit to use the default tier for the source query's engine.

Response

OK

execution_idstring

Unique identifier for the execution triggered to refresh the materialized view

sql_idstring

Unique identifier for the materialized view

Example response

{
  "execution_id": "01HZ065JVE23C23FM2HKWQP2RT",
  "sql_id": "dune.dune.result_erc_20_token_summary"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.