Skip to navigation

List restorations

View as MarkdownOpen in Claude

Lists the restorations run from your backups, newest first. Use it to follow how a restoration is going or why it failed: phase is in_progress, done, failed or excluded, status is the raw step (download, unzip, move, database and so on), and a restoration that never finished before its expired_at reads phase: failed. type tells a restoration in place from the migration variants (migration_same_domain, migration_new_domain, migration_existing_site, migration_staging).

Restorations are read only by design: a restoration touches the customer’s files and database, so it is started from the dashboard. Nothing in this API starts, cancels or downloads one.

Your role must be allowed to read restorations; without it the request answers 404.

Authentication

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Query parameters

filter[site][]stringOptional

Exact website ids. Repeat the parameter for several: any of them matches.

filter[backup][]stringOptional

Exact backup ids: the restorations run from those backups. Repeat the parameter for several.

filter[id][]stringOptional
Exact restoration ids. Repeat the parameter for several.
filter[phase][]stringOptional

in_progress, done, failed or excluded. Repeat the parameter for several.

filter[status][]stringOptional

Raw processing steps, for when phase is not enough. Repeat the parameter for several.

filter[type][]stringOptional

restoration, migration_same_domain, migration_new_domain, migration_existing_site or migration_staging. Repeat the parameter for several.

includestringOptional

Relations to add to the answer, comma separated: site (the website) and backup (the backup the restoration came from).

sortstringOptional

created_at or updated_at; prefix with - for descending. Default: -created_at (newest first).

page[number]stringOptional
Page number, starting at 1. Default 1.
page[size]stringOptional
Items per page, 1 to 50. Default 15.

Response

200 - Site restorations, one finished and one in progress

datalist of objectsOptional
jsonapiobjectOptional
metaobjectOptional