Menu
Get Datasets Datasetname Backups Backupid
Get a backup
GET
/datasets/{datasetName}/backups/{backupId}Use it in a workflow
- Add a step and choose the Sanity connector.
- Pick the Get Datasets Datasetname Backups Backupid action (under Backups).
- Fill in the fields below, then reference the result from later steps as
{{getDatasetsDatasetnameBackupsBackupid.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getDatasetsDatasetnameBackupsBackupid.response.data.<field>}}.
{
"createdAt": "2025-01-01T00:00:00Z",
"totalFiles": 0,
"files": [
{
"name": "string",
"url": "string",
"type": "document"
}
],
"nextCursor": "string"
}
Need more? See the Sanity guide for connection setup and behaviour shared by every action.
Was this page helpful?