One restore test with its checks
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
/api/v1/tenants/{tid}/restore-tests/{id}One restore test with its checks
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
id | path | string | required |
Responses
200 Test
Content type: application/json
idstring requiredtenant_idstring requiredThe account tested
policy_tenant_idstring requiredbackup_idstring requiredserver_idstring requiredServer the sandbox ran on
job_idstring requiredtriggerstring requiredAllowed values:"schedule""manual"statestring requiredAllowed values:"running""passed""warning""failed"error_codestring requiredThe first failing (or, for warning, first warning) check's code, or why the test could not run
targetstring requiredWhere the backup was read from: s3, sftp, gdrive, onedrive, dropbox or local
linksinteger requiredBackups in the chain read
rto_msinteger requiredTime the restore work took: an estimate of the time to restore the account
rpo_secondsinteger requiredAge of the backup when tested: what a restore then would lose
backup_atstring (date-time) | null requiredstarted_atstring (date-time) requiredfinished_atstring (date-time) | null requiredidstring requiredAllowed values:"source""sandbox""fetch""hash""archive""files""mail""database""site""cleanup"partstring optionalkind/name (site/<id>, database/<name>, mail/<domain>, backup/<id>); absent for the whole backup
statestring requiredAllowed values:"pass""warning""fail""skipped"codestring optionalWhy, when not pass: e.g. HASH_MISMATCH, FILES_MISMATCH, DB_TABLES_MISMATCH, SITE_HTTP_STATUS, SITE_APP_NOT_RUN, LOCAL_ONLY, CLEANUP_LEFT
detailsobject optionalCounts and short facts: files, bytes, expected_files, tables, sample_rows, status, location, error
phases_msmap<string, integer> requiredfetch, verify, database, site
Example
{
"id": "string",
"tenant_id": "string",
"policy_tenant_id": "string",
"backup_id": "string",
"server_id": "string",
"job_id": "string",
"trigger": "schedule",
"state": "running",
"error_code": "string",
"target": "string",
"links": 0,
"rto_ms": 0,
"rpo_seconds": 0,
"backup_at": "2026-01-01T00:00:00Z",
"started_at": "2026-01-01T00:00:00Z",
"finished_at": "2026-01-01T00:00:00Z",
"checks": [
{
"id": "source",
"part": "string",
"state": "pass",
"code": "string",
"details": {}
}
],
"phases_ms": {
"key": 0
}
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required