Get the download of a backup

Returns where the download archive of a backup stands. Start one with POST /projects/{projectId}/backups/{backupId}/download, then call this route until state is ready or error.

The route reports the latest download of this type, identified by download_id: a preparation you just started is followed until it is ready or fails, even when an older archive exists. selected_paths lists the files or folders the archive is limited to, empty for the whole content of type.

States:

  • none: no archive of this type has been requested yet (download_id is null), or the latest one finished but has expired from the download cache (download_id is set): request it again.
  • in_progress: the archive is being prepared. progress is a percentage when known.
  • ready: the archive can be downloaded from link until expires_at. Each call returns a fresh link.
  • error: the last preparation failed. Request a new one.
  • stopped: the last preparation was stopped. Request a new one.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Project ID

string
required

Backup ID

Query Params
string
enum
Defaults to FULL

Archive content, the whole site, the files only or the database only

Allowed:
Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json