curl -X POST 'https://app.clokeep.com/api/v1/artifacts/2291/restore' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"target_path": "/var/www/restore",
"overwrite_policy": "skip_existing"
}'<?php
$ch = curl_init('https://app.clokeep.com/api/v1/artifacts/2291/restore');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer YOUR_API_TOKEN',
'Accept: application/json',
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'target_path' => '/var/www/restore',
'overwrite_policy' => 'skip_existing',
]),
]);
$response = curl_exec($ch);
echo $response;
const response = await fetch("https://app.clokeep.com/api/v1/artifacts/2291/restore", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_TOKEN",
"Accept": "application/json",
"Content-Type": "application/json",
},
body: JSON.stringify({
"target_path": "/var/www/restore",
"overwrite_policy": "skip_existing",
}),
});
console.log(await response.text());
import requests
response = requests.post(
"https://app.clokeep.com/api/v1/artifacts/2291/restore",
headers={
"Authorization": "Bearer YOUR_API_TOKEN",
"Accept": "application/json",
"Content-Type": "application/json",
},
json={
"target_path": "/var/www/restore",
"overwrite_policy": "skip_existing",
},
)
print(response.text)
{
"data": {
"id": 1875,
"plan_id": 41,
"server_id": 12,
"kind": "restore",
"kind_label": "Restore",
"trigger": "api",
"trigger_label": "API",
"status": "queued",
"status_label": "Queued",
"progress_percent": 0,
"current_step": null,
"message": null,
"queue": "backups",
"laravel_job_uuid": null,
"started_at": null,
"finished_at": null,
"cancel_requested_at": null,
"error_message": null,
"initiated_by_user_id": 8,
"restore": {
"source_artifact_id": 2291,
"mode": "alternate_path",
"target_path": "/var/www/restore",
"overwrite_policy": "skip_existing",
"database_connection_id": null,
"account": null
},
"plan": {
"id": 41,
"server_id": 12,
"plan_template_id": 1,
"name": "Nightly files",
"type": "files",
"type_label": "Files",
"schedule_id": 7,
"compression_profile_id": 2,
"enabled": true,
"encrypts_new_backups": false,
"config": {
"backup_path_ids": [
5
],
"incremental": true,
"full_every": 7,
"archive_per_path": false,
"dedup_disabled": false
},
"retention_days": 30,
"retention_count": 7,
"created_at": "2026-11-01T09:14:22+00:00",
"updated_at": "2026-11-18T16:40:05+00:00"
},
"server": {
"id": 12,
"name": "web-01",
"ip": "203.0.113.10",
"status": "online",
"status_label": "Online",
"control_panel": "plesk",
"detected_control_panel": "plesk",
"last_seen_at": "2026-11-20T02:00:04+00:00",
"agent_version": "1.4.1",
"account_portal_plugin_status": null,
"enrolled_at": "2026-11-01T09:20:00+00:00",
"metadata": {
"hostname": "web-01.example.com",
"os": "Ubuntu 22.04"
},
"work_dir": "/var/backups/clokeep",
"agent_work_dirs": [
{
"path": "/var/backups/clokeep",
"default": true,
"available": true,
"free_bytes": 214748364800,
"total_bytes": 536870912000,
"source": "config",
"mount_point": "/",
"device": "/dev/sda1",
"fs_type": "ext4"
}
],
"accounts_synced_at": "2026-11-20T01:30:04+00:00",
"plesk_subscriptions_synced_at": "2026-11-20T01:30:04+00:00",
"plesk_sync_requested": false,
"created_at": "2026-11-01T09:14:22+00:00",
"updated_at": "2026-11-20T02:00:04+00:00"
},
"created_at": "2026-11-20T10:40:00+00:00",
"updated_at": "2026-11-20T10:40:00+00:00"
}
}{
"message": "Unauthenticated."
}{
"message": "This token lacks the required ability."
}{
"message": "No query results for model [App\\Models\\BackupArtifact] 2291"
}{
"message": "Server \"web-01\" already has an active restore run."
}{
"message": "The target path field is required.",
"errors": {
"target_path": [
"The target path field is required."
]
}
}{
"message": "Too Many Attempts."
}{
"message": "The file list of this backup is unavailable: storage unreachable."
}The backup is restored to the server it came from, with the choices the panel's Restore form offers for it. The fields depend on the backup, and a field that does not apply to it is refused:
- files backup:
target_path(required, absolute) andoverwrite_policy(overwrite,skip_existingorrename; defaultoverwrite); - database backup:
database_connection_id(required), a connection on the backup's server; - Plesk or cPanel backup:
components(files,databases,mail,settings, those the backup holds),files_target,databases(names of dumps in the backup),database_mode(newrestores intoname_restored, replacing one that exists;overwriteover the original; defaultnew, oroverwritewhenapply_settingsre-creates an account that was missing from the server at the last account sync),mail_overwrite,apply_settings,rollback_live(Plesk); ormailbox(address,overwrite_account) alone to restore one mailbox.
Answers 202 with the queued restore run (its choices under restore); the agent picks it
up on its next poll. 409 while another restore on the same server is queued or running.
422 when the backup cannot be restored (orphaned, missing from storage, or refused). 503
while the file list of a Plesk or cPanel backup cannot be read.
New to the API? Read Queue a restore through the API and Handle errors and rate limits.
Path Parameters
-
artifactintegerrequired
The ID of the backup.
Example:
2291
Body Parameters
-
target_pathstring
Files backup: the absolute folder on the server to restore into. Required for a files backup.
Example:
/var/www/restore -
overwrite_policystring
Files backup: what to do with a file that already exists.
Default:
overwriteOne of:
overwrite,skip_existing,renameExample:
skip_existing -
database_connection_idinteger
Database backup: the connection to restore into, on the backup's server. Required for a database backup.
Example:
9 -
componentsstring[]
Plesk or cPanel backup: the parts to restore, among those the backup holds (
files,databases,mail,settings). Required unlessmailboxis sent.One of:
files,databases,mail,settingsExample:
["files","databases"] -
files_targetstring
Plesk or cPanel backup: the folder to restore the files into. Blank for the account's own folder; on cPanel it must be the home folder or inside it.
Example:
/var/www/vhosts/example.com/httpdocs -
databasesstring[]
Plesk or cPanel backup: the databases to restore, by the names of their dumps in the backup.
Example:
["wp"] -
database_modestring
Plesk or cPanel backup:
newrestores each database asname_restored(replacing aname_restoreddatabase that exists) and leaves the original alone;overwriteempties the original and loads the backup into it. When left out it isnew, oroverwritewhenapply_settingsre-creates an account that was missing from the server at the last account sync (its databases come back empty).Default:
newOne of:
new,overwriteExample:
new -
mail_overwriteboolean
Plesk or cPanel backup: overwrite messages that already exist.
Default:
falseExample:
false -
apply_settingsboolean
Plesk or cPanel backup with
settings: apply them. Re-creates a deleted subscription or account; on cPanel it also rolls a live account's configuration back.Default:
falseExample:
true -
rollback_liveboolean
Plesk backup with
settingsandapply_settings: also roll back a subscription that still exists. Its settings (hosting and PHP options, DNS records, mail accounts) and every password go back to the backup's; files, mail and databases are restored only as chosen incomponents.Default:
falseExample:
false -
mailboxobject
Plesk or cPanel backup: restore one mailbox instead of components, as
{"address": "[email protected]", "overwrite_account": false}.overwrite_accountresets an existing mailbox's password (and on Plesk its aliases and forwarding) to the backup.Example:
{"address":"[email protected]","overwrite_account":false}
Response
202
-
dataobject
Show properties
-
data.idinteger
-
data.plan_idinteger
-
data.server_idinteger
-
data.kindstring
One of:
backup,restore -
data.kind_labelstring
One of:
Backup,Restore -
data.triggerstring
One of:
manual,schedule,api -
data.trigger_labelstring
One of:
Manual,Schedule,API -
data.statusstring
One of:
queued,running,completed,partial,failed,cancelled -
data.status_labelstring
One of:
Queued,Running,Completed,Partially completed,Failed,Cancelled -
data.progress_percentinteger
How far the run has got, 0 to 100.
-
data.current_stepstringnullable
The step the agent is on: for a backup
prepare,dump,archive,compress,uploadorindex; for a restoredownload,extract,restoreorverify. It is null in the first answer to starting a backup, for a restore until the agent picks it up, and once the run has completed; a backup waiting for the agent already showsprepare, and a failed or cancelled run keeps the step it stopped at. To know whether a run has started, readstatus, not this field. -
data.messagestringnullable
The latest status line of the run.
-
data.queuestringnullable
The queue the run was dispatched to.
-
data.laravel_job_uuidstringnullable
The id of the queued job that started the run.
-
data.started_atstring · date-timenullable
When the agent started the run.
-
data.finished_atstring · date-timenullable
When the run ended; null while it is still queued or running.
-
data.cancel_requested_atstring · date-timenullable
When a stop was requested, for example
2026-11-20T02:05:30+00:00; null unless someone asked to cancel the run. -
data.error_messagestringnullable
Why the run failed, for example
Upload failed: connection timed out after 120 seconds., or for apartialrun which items failed; null for a run that did not fail. -
data.initiated_by_user_idintegernullable
The user who started the run; null for a scheduled run. A run started by hand or through the API carries the user's id.
-
data.restoreobjectnullable
What a restore run was asked to restore, and how; null on a backup run.
accountholds a Plesk or cPanel restore's choices (mailboxalone for one mailbox), null for a files or database restore.Show properties
-
data.restore.source_artifact_idintegernullable
-
data.restore.modestringnullable
One of:
original_location,alternate_path,download_only,null -
data.restore.target_pathstringnullable
-
data.restore.overwrite_policystringnullable
One of:
overwrite,skip_existing,rename,null -
data.restore.database_connection_idintegernullable
-
data.restore.accountobjectnullable
Show properties
-
data.restore.account.componentsstring[]
One of:
files,databases,mail,settings,mailbox -
data.restore.account.files_targetstringnullable
-
data.restore.account.databasesobject[]
Show properties
-
data.restore.account.databases.namestring
-
data.restore.account.databases.target_namestring
-
-
data.restore.account.mail_overwriteboolean
-
data.restore.account.apply_settingsboolean
-
data.restore.account.rollback_liveboolean
-
data.restore.account.mailboxobjectnullable
Show properties
-
data.restore.account.mailbox.addressstring
-
data.restore.account.mailbox.overwrite_accountboolean
-
-
-
-
data.planobject
Show properties
-
data.plan.idinteger
-
data.plan.server_idinteger
-
data.plan.plan_template_idintegernullable
-
data.plan.namestring
-
data.plan.typestring
One of:
files,database,email,plesk_subscription,cpanel_account -
data.plan.type_labelstring
One of:
Files,Database,Email,Plesk server,cPanel server -
data.plan.schedule_idintegernullable
-
data.plan.compression_profile_idintegernullable
-
data.plan.enabledboolean
-
data.plan.encrypts_new_backupsboolean
True when the plan's next backups will be encrypted with the platform's key (the platform-wide setting or the client's own).
-
data.plan.configobjectnullable
The plan's settings; the keys depend on
type. files:backup_path_ids,incremental,full_every,archive_per_path,dedup_disabled. database:database_connection_id,tables. email:mail_paths,mail_domains,mail_mailboxes,mail_all_domains. plesk_subscription and cpanel_account:account_scope(on Plesk alsoplesk_scope, its pre-4.3.0 name),include_mail,archive_per_component. An empty list[]when nothing is set. -
data.plan.retention_daysintegernullable
-
data.plan.retention_countintegernullable
-
data.plan.serverobject
Show properties
-
data.plan.server.idinteger
-
data.plan.server.namestring
-
data.plan.server.ipstringnullable
-
data.plan.server.statusstring
One of:
pending,online,offline -
data.plan.server.status_labelstring
One of:
Pending,Online,Offline -
data.plan.server.control_panelstring
One of:
none,plesk,cpanel -
data.plan.server.detected_control_panelstringnullable
One of:
none,plesk,cpanel,null -
data.plan.server.last_seen_atstring · date-timenullable
-
data.plan.server.agent_versionstringnullable
-
data.plan.server.account_portal_plugin_statusstringnullable
What the agent last reported for the cPanel Backups plugin:
installed,not_installedorfailed. Null until an agent reports it. -
data.plan.server.enrolled_atstring · date-timenullable
-
data.plan.server.metadataobjectnullable
Free-form details about the server: whatever the API or panel stored, plus
hostnameandosas the agent reports them. An empty list[]when nothing is set. -
data.plan.server.work_dirstringnullable
The directory the agent stages and archives in: an absolute path the agent reports in
agent_work_dirs,autoto let the agent pick the one with the most free space, or null for the agent default. -
data.plan.server.agent_work_dirsobject[]nullable
The work directories the agent reported on its last heartbeat; null until an agent that reports them has checked in. Each entry has
path,default(the agent's first choice),available,free_bytes,total_bytes,source(configfor a directory from the agent's settings,diskfor a detected one) and the nullablemount_point,deviceandfs_type.Show properties
-
data.plan.server.agent_work_dirs.pathstring
-
data.plan.server.agent_work_dirs.defaultboolean
-
data.plan.server.agent_work_dirs.availableboolean
-
data.plan.server.agent_work_dirs.free_bytesinteger
-
data.plan.server.agent_work_dirs.total_bytesinteger
-
data.plan.server.agent_work_dirs.sourcestring
-
data.plan.server.agent_work_dirs.mount_pointstringnullable
-
data.plan.server.agent_work_dirs.devicestringnullable
-
data.plan.server.agent_work_dirs.fs_typestringnullable
-
-
data.plan.server.accounts_synced_atstring · date-timenullable
-
data.plan.server.plesk_subscriptions_synced_atstring · date-timenullable
-
data.plan.server.plesk_sync_requestedboolean
Whether a hosting-account sync is waiting for the agent to pick it up.
-
data.plan.server.created_atstring · date-timenullable
-
data.plan.server.updated_atstring · date-timenullable
-
-
data.plan.scheduleobjectnullable
Show properties
-
data.plan.schedule.idinteger
-
data.plan.schedule.namestring
-
data.plan.schedule.platformboolean
True for a shared catalog item that Clokeep provides to every client (read-only); false for one the client created.
-
data.plan.schedule.cron_expressionstring
-
data.plan.schedule.timezonestring
-
data.plan.schedule.created_atstring · date-timenullable
-
data.plan.schedule.updated_atstring · date-timenullable
-
-
data.plan.compression_profileobjectnullable
Show properties
-
data.plan.compression_profile.idinteger
-
data.plan.compression_profile.namestring
-
data.plan.compression_profile.platformboolean
True for a shared catalog item that Clokeep provides to every client (read-only); false for one the client created.
-
data.plan.compression_profile.archive_formatstring
One of:
tar,zip -
data.plan.compression_profile.archive_format_labelstring
One of:
tar,zip -
data.plan.compression_profile.compressorstring
One of:
none,gzip,zstd -
data.plan.compression_profile.compressor_labelstring
One of:
None,gzip,zstd -
data.plan.compression_profile.levelinteger
-
data.plan.compression_profile.file_extensionstring
-
data.plan.compression_profile.is_defaultboolean
-
data.plan.compression_profile.created_atstring · date-timenullable
-
data.plan.compression_profile.updated_atstring · date-timenullable
-
-
data.plan.plan_templateobjectnullable
Show properties
-
data.plan.plan_template.idinteger
-
data.plan.plan_template.slugstring
-
data.plan.plan_template.namestring
-
data.plan.plan_template.platformboolean
A shared catalog item: read-only to clients.
-
data.plan.plan_template.descriptionstringnullable
-
data.plan.plan_template.typestring
One of:
files,database,email,plesk_subscription,cpanel_account -
data.plan.plan_template.type_labelstring
One of:
Files,Database,Email,Plesk server,cPanel server -
data.plan.plan_template.default_schedule_idintegernullable
-
data.plan.plan_template.default_compression_profile_idintegernullable
-
data.plan.plan_template.default_configobjectnullable
The settings a plan made from this template starts with; the keys are those of a plan's
configfor the sametype. An empty list[]when nothing is set. -
data.plan.plan_template.is_systemboolean
-
data.plan.plan_template.created_atstring · date-timenullable
-
data.plan.plan_template.updated_atstring · date-timenullable
-
-
data.plan.storagesobject[]
Show properties
-
data.plan.storages.idinteger
-
data.plan.storages.storage_idinteger
-
data.plan.storages.priorityinteger
-
data.plan.storages.path_prefixstringnullable
-
data.plan.storages.storageobject
Show properties
-
data.plan.storages.storage.idinteger
-
data.plan.storages.storage.namestring
-
data.plan.storages.storage.driverstring
One of:
s3,sftp,ftp -
data.plan.storages.storage.driver_labelstring
One of:
S3,SFTP,FTP -
data.plan.storages.storage.configobjectnullable
The storage's non-secret settings; the keys depend on
driver. s3:bucket,region,endpoint,use_path_style_endpoint,root. sftp:host,port,root,timeout,host_key. ftp:host,port,root,timeout,ssl,passive(the panel's own connections only; the agent always uses passive mode). Credentials are never returned. An empty list[]when nothing is set. -
data.plan.storages.storage.has_credentialsboolean
-
data.plan.storages.storage.is_activeboolean
-
data.plan.storages.storage.last_tested_atstring · date-timenullable
-
data.plan.storages.storage.last_test_statusstringnullable
The outcome of the last connection test; null before the first.
One of:
success,failed,null -
data.plan.storages.storage.object_lock_enabledbooleannullable
Whether the S3 bucket has Object Lock turned on, as the last connection test found it. Detected, never set through the API; null for SFTP and FTP storages and before an S3 storage's first successful check.
-
data.plan.storages.storage.created_atstring · date-timenullable
-
data.plan.storages.storage.updated_atstring · date-timenullable
-
-
-
data.plan.created_atstring · date-timenullable
-
data.plan.updated_atstring · date-timenullable
-
-
data.serverobject
Show properties
-
data.server.idinteger
-
data.server.namestring
-
data.server.ipstringnullable
-
data.server.statusstring
One of:
pending,online,offline -
data.server.status_labelstring
One of:
Pending,Online,Offline -
data.server.control_panelstring
One of:
none,plesk,cpanel -
data.server.detected_control_panelstringnullable
One of:
none,plesk,cpanel,null -
data.server.last_seen_atstring · date-timenullable
-
data.server.agent_versionstringnullable
-
data.server.account_portal_plugin_statusstringnullable
What the agent last reported for the cPanel Backups plugin:
installed,not_installedorfailed. Null until an agent reports it. -
data.server.enrolled_atstring · date-timenullable
-
data.server.metadataobjectnullable
Free-form details about the server: whatever the API or panel stored, plus
hostnameandosas the agent reports them. An empty list[]when nothing is set. -
data.server.work_dirstringnullable
The directory the agent stages and archives in: an absolute path the agent reports in
agent_work_dirs,autoto let the agent pick the one with the most free space, or null for the agent default. -
data.server.agent_work_dirsobject[]nullable
The work directories the agent reported on its last heartbeat; null until an agent that reports them has checked in. Each entry has
path,default(the agent's first choice),available,free_bytes,total_bytes,source(configfor a directory from the agent's settings,diskfor a detected one) and the nullablemount_point,deviceandfs_type.Show properties
-
data.server.agent_work_dirs.pathstring
-
data.server.agent_work_dirs.defaultboolean
-
data.server.agent_work_dirs.availableboolean
-
data.server.agent_work_dirs.free_bytesinteger
-
data.server.agent_work_dirs.total_bytesinteger
-
data.server.agent_work_dirs.sourcestring
-
data.server.agent_work_dirs.mount_pointstringnullable
-
data.server.agent_work_dirs.devicestringnullable
-
data.server.agent_work_dirs.fs_typestringnullable
-
-
data.server.accounts_synced_atstring · date-timenullable
-
data.server.plesk_subscriptions_synced_atstring · date-timenullable
-
data.server.plesk_sync_requestedboolean
Whether a hosting-account sync is waiting for the agent to pick it up.
-
data.server.created_atstring · date-timenullable
-
data.server.updated_atstring · date-timenullable
-
-
data.logsobject[]
Show properties
-
data.logs.idinteger
-
data.logs.backup_run_idinteger
-
data.logs.levelstring
One of:
debug,info,warning,error -
data.logs.level_labelstring
One of:
Debug,Info,Warning,Error -
data.logs.messagestring
-
data.logs.contextobjectnullable
Extra details a line can carry; the keys vary by line. The agent's own lines carry none, so it is usually null.
-
data.logs.created_atstring · date-time
-
-
data.artifactsobject[]
Show properties
-
data.artifacts.idinteger
-
data.artifacts.backup_run_idintegernullable
-
data.artifacts.storage_idintegernullable
-
data.artifacts.remote_pathstring
Where the archive sits on its storage.
-
data.artifacts.filenamestring
-
data.artifacts.labelstringnullable
A name the agent gives an archive that holds one account, such as its domain (
example.com); null for other backups. -
data.artifacts.size_bytesinteger
The archive's size on storage, in bytes.
-
data.artifacts.checksumstringnullable
The SHA-256 checksum of the archive.
-
data.artifacts.encryptedboolean
True when the archive is encrypted at rest with the platform's key. An encrypted backup is restored through the agent; a download is the encrypted file, and single files cannot be extracted.
-
data.artifacts.file_list_encryptedboolean
True when the backup's file list is encrypted too (encrypted backups made by a current agent). The panel still shows it.
-
data.artifacts.hosting_account_idintegernullable
The hosting account the archive holds, for a Plesk or cPanel backup (for example
17); null otherwise. -
data.artifacts.compression_profile_idintegernullable
-
data.artifacts.indexed_atstring · date-timenullable
When the backup's file list was stored; null for a backup that was never indexed.
-
data.artifacts.index_formatstring
How the backup's file list is kept:
rows(entry rows in the panel's database) orfiles(a manifest file stored beside the archive).One of:
rows,files -
data.artifacts.entry_countintegernullable
How many files and folders the backup lists.
-
data.artifacts.file_countintegernullable
How many of the entries are files.
-
data.artifacts.total_size_bytesintegernullable
The files' size before compression, in bytes.
-
data.artifacts.has_referencesboolean
True when the file list points at files kept in earlier backups of an incremental chain.
-
data.artifacts.manifest_missing_atstring · date-timenullable
When a check found the backup's file list missing from storage (for example
2026-11-21T04:00:00+00:00); null while it is there. -
data.artifacts.storageobjectnullable
Show properties
-
data.artifacts.storage.idinteger
-
data.artifacts.storage.namestring
-
data.artifacts.storage.driverstring
One of:
s3,sftp,ftp -
data.artifacts.storage.driver_labelstring
One of:
S3,SFTP,FTP -
data.artifacts.storage.configobjectnullable
The storage's non-secret settings; the keys depend on
driver. s3:bucket,region,endpoint,use_path_style_endpoint,root. sftp:host,port,root,timeout,host_key. ftp:host,port,root,timeout,ssl,passive(the panel's own connections only; the agent always uses passive mode). Credentials are never returned. An empty list[]when nothing is set. -
data.artifacts.storage.has_credentialsboolean
-
data.artifacts.storage.is_activeboolean
-
data.artifacts.storage.last_tested_atstring · date-timenullable
-
data.artifacts.storage.last_test_statusstringnullable
The outcome of the last connection test; null before the first.
One of:
success,failed,null -
data.artifacts.storage.object_lock_enabledbooleannullable
Whether the S3 bucket has Object Lock turned on, as the last connection test found it. Detected, never set through the API; null for SFTP and FTP storages and before an S3 storage's first successful check.
-
data.artifacts.storage.created_atstring · date-timenullable
-
data.artifacts.storage.updated_atstring · date-timenullable
-
-
data.artifacts.compression_profileobjectnullable
Show properties
-
data.artifacts.compression_profile.idinteger
-
data.artifacts.compression_profile.namestring
-
data.artifacts.compression_profile.platformboolean
True for a shared catalog item that Clokeep provides to every client (read-only); false for one the client created.
-
data.artifacts.compression_profile.archive_formatstring
One of:
tar,zip -
data.artifacts.compression_profile.archive_format_labelstring
One of:
tar,zip -
data.artifacts.compression_profile.compressorstring
One of:
none,gzip,zstd -
data.artifacts.compression_profile.compressor_labelstring
One of:
None,gzip,zstd -
data.artifacts.compression_profile.levelinteger
-
data.artifacts.compression_profile.file_extensionstring
-
data.artifacts.compression_profile.is_defaultboolean
-
data.artifacts.compression_profile.created_atstring · date-timenullable
-
data.artifacts.compression_profile.updated_atstring · date-timenullable
-
-
data.artifacts.created_atstring · date-timenullable
-
data.artifacts.updated_atstring · date-timenullable
-
-
data.created_atstring · date-timenullable
When the run was queued.
-
data.updated_atstring · date-timenullable
-
401
The request carries no valid token: the Authorization: Bearer header is missing, or its token is unknown, revoked or past its expiry date. Send a current personal access token.
-
messagestring
Always
Unauthenticated.
403
The token may not do this. The message says why: This token lacks the required ability. (a read token), Your role does not permit this action. (its owner is not an Admin or Operator in the client), This account is disabled., This token is not bound to a client you belong to., or Client suspended.
-
messagestring
What went wrong.
404
Not found
-
messagestring
What went wrong.
409
Another restore on the same server is queued or running.
-
messagestring
What went wrong.
422
The body or the query is invalid. message names the first problem and errors lists every problem by field. A backup whose server or plan was deleted, or one missing from storage at the last check, is refused with a message only.
-
messagestring
The first problem, and how many more there are.
-
errorsobject
Every problem, by field.
429
More than 120 requests a minute for this user. Wait the seconds in Retry-After, then retry.
-
messagestring
What went wrong.
503
The backup's file index cannot be read from storage right now. Try again later.
-
messagestring
What went wrong.