Sanity · Arazzo Workflow
Sanity Discover Project Datasets
Version 1.0.0
List accessible projects, then enumerate the datasets of a chosen project.
View Spec
View on GitHub
Headless CMSContent ManagementGROQReal-TimeStructured ContentDeveloper PlatformArazzoWorkflows
Provider
Workflows
discover-project-datasets
Enumerate projects and drill into one project's details and datasets.
Lists accessible projects, and when at least one exists, reads the first project's details and lists its datasets.
1
listProjects
listProjects
List every project the token can access and capture the id of the first project for drill-down.
2
getProject
getProject
Read the details of the first accessible project.
3
listDatasets
listDatasets
List the datasets that belong to the chosen project.