Provision Dataset
A 2-step recipe with Sanity. We can help you get access.
Recipe · 2 steps
Provision Dataset
with Sanity
Create a dataset and verify it through the project dataset list.
- Create the dataset in the project with the requested name and access control mode.
- List all datasets in the project to confirm the newly created dataset is present.
What you'll need to have ready
- apiToken: Sanity management API token used as a Bearer credential.
- projectId: The project id the dataset is created within.
- datasetName: Name for the new dataset (e.g. staging).
- aclMode: Access control mode for the dataset (public or private).
For your developer
Arazzo workflow sanity:provision-dataset, 2 operations: createDataset → listDatasets. Specs on APIs.io.