Skip to content

List Restores

GET
/deployments/{deployment_id}/restores
curl --request GET \
--url 'https://api.mengi.cloud/deployments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/restores?skip=0&limit=20'

Restores of this deployment from backups, newest first, with progress and outcome.

deployment_id
required
Deployment Id
string format: uuid
skip
Skip
integer
0
limit
Limit
integer
default: 20 >= 1 <= 100

Successful Response

Media typeapplication/json
DeploymentRestoreList
object
restores
required
Restores
Array<object>
DeploymentRestoreResponse

One restore of a deployment from a backup, with its progress.

object
id
required
Id
string format: uuid
deployment_id
required
Deployment Id
string format: uuid
backup_name
required
Backup Name
string
safety_backup_name
Safety Backup Name
Any of:
string
status
required
Status
string
step
Step
Any of:
string
progress_message
Progress Message
Any of:
string
error_message
Error Message
Any of:
string
created_at
required
Created At
string format: date-time
started_at
Started At
Any of:
string format: date-time
completed_at
Completed At
Any of:
string format: date-time
total
required
Total
integer

Example generated

{
"restores": [
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"deployment_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"backup_name": "example",
"safety_backup_name": "example",
"status": "example",
"step": "example",
"progress_message": "example",
"error_message": "example",
"created_at": "2026-04-15T12:00:00Z",
"started_at": "2026-04-15T12:00:00Z",
"completed_at": "2026-04-15T12:00:00Z"
}
],
"total": 1
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}