curl --request POST \
--url https://api-dev.narrative.io/datasets/{dataset_id}/refresh-materialized-view \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "full",
"execution_cluster": {
"type": "dedicated"
}
}
'curl --request POST \
--url https://api-dev.narrative.io/datasets/{dataset_id}/refresh-materialized-view \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "full",
"execution_cluster": {
"type": "dedicated"
}
}
'Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique identifier for a dataset.
full will skip progress tracking and run the materialized view from scratch, incremental will use the progress tracking.
full, incremental Show child attributes
The ID of the compute pool to use for this refresh. The compute pool must be active, belong to your company, and be associated with the target data plane. If not specified, falls back to the compute pool configured on the refresh schedule (if any).
OK
Was this page helpful?