Menu
Create Dataset
Create a dataset
PUT
/projects/{projectId}/datasets/{name}Use it in a workflow
- Add a step and choose the Sanity connector.
- Pick the Create Dataset action (under Projects).
- Fill in the fields below, then reference the result from later steps as
{{createDataset.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"aclMode": "public",
"description": "string",
"embeddings": {
"enabled": false,
"projection": "{title, author}"
}
}
Response
Returns 201 with an object. Read it in later steps with {{createDataset.response.data.<field>}}.
{
"datasetName": "string",
"aclMode": "string",
"description": "string",
"datasetProfile": "string",
"addonFor": "string",
"features": [
"string"
]
}
Need more? See the Sanity guide for connection setup and behaviour shared by every action.
Was this page helpful?