post https://api.sigmacomputing.com/v2/datasets//materialization
Start a materialization run for a specific dataset. The materialization schedule for the dataset must already exist.
Usage notes
- Retrieve the datasetId by calling the /v2/datasets endpoint.
When calling this endpoint, include an empty payload with your request. For example, in a curl command:
curl --request POST \
--url {baseUrl}/v2/datasets/{datasetId}/materialization \
--header 'accept: application/json' \
--header 'authorization: Bearer redacted' \
--header 'content-type: application/json' \
--data '{}'
Or for Python code:
import requests
url = "{baseUrl}/v2/datasets/{datasetId}/materialization"
payload = {}
headers = {
"accept": "application/json",
"content-type": "application/json",
"authorization": "Bearer ",
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)