Docs menu

API reference

backups.list

List a Site's restore points

GET/api/v1/sites/{siteId}/backups

Needs the backup:read permission. As an MCP tool it is named backups.list.

Details

A Site's restore points, newest first: when each was taken and why (daily, by a person, before an update, or just before a restore so it can be undone), whether its images and files were copied too, and until when it can be restored (7 days on Workers Free, 30 on Workers Paid). Also whether media backup is on, when the next daily restore point is due, and the backup Job running now, if any. A restore point always holds the database (content, users, settings); images and files only when media backup is on. Never a bookmark or a key.

Input

FieldTypeNotes
siteIdrequiredstring

Output

FieldTypeNotes
siteIdrequiredstring
retentionDaysrequiredintegerfrom -9007199254740991 to 9007199254740991
mediarequiredobject
media.onrequiredboolean
media.changedAtrequiredinteger or null
nextDailyAtrequiredinteger or null
pointsrequiredlist of object
points.idrequiredstring
points.reasonrequired"daily" | "manual" | "before-update" | "before-restore"
points.statusrequired"taking" | "ready" | "failed" | "expired"
points.createdAtrequiredintegerfrom -9007199254740991 to 9007199254740991
points.readyAtrequiredinteger or null
points.expiresAtrequiredinteger or null
points.mediarequiredboolean
points.mediaFilesrequiredinteger or null
points.mediaBytesrequiredinteger or null
points.undoesrequiredstring or null
points.restorablerequiredboolean
jobrequiredobject or null

All Operations