backups
Vesta API · 6.0.79 · Community with mTLS
GET/api/v1/backupsList Backups
List backups with pagination and optional filters. - skip: Number of records to skip (default: 0) - limit: Maximum number of records to return (default: 50, max: 100) - vm_id: Filter by specific VM - status: Filter by status (pending, running, completed, failed) - search: Search by VM name (partial match, case-insensitive) - date_from: Filter backups created after this date (ISO format: 2025-01-01) - date_to: Filter backups created before this date (ISO format: 2025-12-31) - tag_key: Filter by tag key (requires tag_value) - tag_value: Filter by tag value (requires tag_key)
Parameters
skip · query · Optional
{
"default": 0,
"minimum": 0,
"title": "Skip",
"type": "integer"
}limit · query · Optional
Clamped to 100 per page
{
"default": 50,
"description": "Clamped to 100 per page",
"minimum": 1,
"title": "Limit",
"type": "integer"
}vm_id · query · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vm Id"
}status · query · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Status"
}search · query · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Search"
}date_from · query · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date From"
}date_to · query · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date To"
}tag_key · query · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Tag Key"
}tag_value · query · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Tag Value"
}Authentication
Responses
200
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"has_more": {
"type": "boolean"
},
"items": {
"items": {
"additionalProperties": false,
"properties": {
"backup_type": {
"type": "string"
},
"capacity_state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"completed_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"operator_dispatch": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"request_id": {
"format": "uuid",
"type": "string"
},
"state": {
"enum": [
"pending",
"dispatching",
"delivered",
"held"
],
"type": "string"
}
},
"required": [
"state",
"reason",
"request_id"
],
"type": "object"
},
{
"type": "null"
}
]
},
"progress": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"retention_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"safety_diagnostic": {
"anyOf": [
{
"$ref": "#/components/schemas/StorageSafetyDiagnostic"
},
{
"type": "null"
}
]
},
"size_bytes": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"status": {
"type": "string"
},
"storage_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"storage_progress": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"bytes_transferred": {
"maximum": 9223372036854775807,
"minimum": 0,
"type": "integer"
},
"phase": {
"enum": [
"pending",
"preparing",
"uploading",
"finalizing"
],
"type": "string"
},
"plan_sha256": {
"type": "string"
},
"reservation_id": {
"type": "string"
},
"schema": {
"const": 1,
"type": "integer"
},
"total_bytes": {
"maximum": 9223372036854775807,
"minimum": 0,
"type": "integer"
},
"updated_at": {
"format": "date-time",
"type": "string"
}
},
"required": [
"schema",
"reservation_id",
"plan_sha256",
"phase",
"bytes_transferred",
"total_bytes",
"updated_at"
],
"type": "object"
},
{
"type": "null"
}
]
},
"tags": {
"additionalProperties": true,
"description": "Extensible domain metadata; keys are not a closed schema.",
"type": "object",
"x-open-schema-reason": "Persisted/provider-supplied domain metadata permits additional JSON values."
},
"vm_id": {
"type": "string"
},
"vm_name": {
"type": "string"
}
},
"required": [
"id",
"vm_id",
"vm_name",
"status",
"progress",
"safety_diagnostic",
"storage_progress",
"size_bytes",
"retention_days",
"backup_type",
"capacity_state",
"storage_path",
"tags",
"created_at",
"completed_at",
"operator_dispatch"
],
"type": "object"
},
"type": "array"
},
"limit": {
"type": "integer"
},
"skip": {
"type": "integer"
},
"total": {
"type": "integer"
}
},
"required": [
"items",
"total",
"skip",
"limit",
"has_more"
],
"type": "object"
}400
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}401
Bearer absent, invalid, disabled, stale or organization unavailable
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Only in demo deployment mode: ordinary API surface is denied before handlers
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}422
Validation Error
application/json
Schema
500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}POST/api/v1/backupsCreate Backup
Create a new backup job for a VM (operator or admin only). Triggers async backup execution.
Parameters
Idempotency-Key · header · Optional
Caller-supplied UUID identifying this intent permanently. Reuse only for the same original principal, organization, action and normalized input. Not HTTP X-Request-ID.
{
"format": "uuid",
"type": "string"
}Request body
Required
application/json
Schema
Authentication
Responses
200
Durable admission receipt; pending/queued is not proof of external execution or success. A replay returns the original nonsecret receipt.
Headers
{
"Cache-Control": {
"schema": {
"const": "no-store"
}
},
"Idempotency-Key": {
"schema": {
"format": "uuid",
"type": "string"
}
},
"Idempotency-Replayed": {
"schema": {
"enum": [
"true",
"false"
],
"type": "string"
}
},
"X-Request-ID": {
"description": "Per-HTTP-request correlation, separate from durable admission identity.",
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"discriminator": {
"propertyName": "status"
},
"oneOf": [
{
"additionalProperties": false,
"properties": {
"executor": {
"enum": [
"real",
"mock"
],
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"format": "uuid",
"type": "string"
},
"status": {
"const": "pending",
"type": "string"
},
"vm_id": {
"type": "string"
},
"vm_name": {
"type": "string"
}
},
"required": [
"id",
"vm_id",
"vm_name",
"status",
"message",
"executor",
"request_id"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"queue_id": {
"type": "string"
},
"request_id": {
"format": "uuid",
"type": "string"
},
"status": {
"const": "queued",
"type": "string"
},
"vm_id": {
"type": "string"
},
"vm_name": {
"type": "string"
}
},
"required": [
"status",
"queue_id",
"vm_id",
"vm_name",
"message",
"request_id"
],
"type": "object"
}
]
}400
Invalid domain request.
application/json
Schema
401
Authentication unavailable.
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"$ref": "#/components/schemas/OperatorAdmissionError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Current action authority unavailable.
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"$ref": "#/components/schemas/OperatorAdmissionError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}
]
}404
Authorized resource unavailable.
application/json
Schema
{
"anyOf": [
{
"$ref": "#/components/schemas/OperatorAdmissionError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}409
Identity conflict, unresolved/retired outcome, pending agent rotation, stale KEK predecessor or unsupported provider contract.
application/json
Schema
{
"anyOf": [
{
"$ref": "#/components/schemas/OperatorAdmissionError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}413
Normalized intent exceeds admission limit.
application/json
Schema
422
Malformed identity, request validation or bulk target limit.
application/json
Schema
{
"anyOf": [
{
"$ref": "#/components/schemas/OperatorAdmissionError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}423
Existing source or operation custody prevents admission.
application/json
Schema
500
Outcome may be unknown after a lost/failing commit response. Reconcile the same request identity.
application/json
Schema
text/plain
Schema
{
"anyOf": [
{
"type": "string"
},
{
"const": "Internal Server Error",
"type": "string"
}
]
}503
Admission dependency unavailable.
application/json
Schema
{
"anyOf": [
{
"$ref": "#/components/schemas/OperatorAdmissionError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}POST/api/v1/backups/cleanupCleanup Expired Backups
Clean up expired backups based on retention policies (admin only). - dry_run: If True, return what would be deleted without actually deleting Uses RetentionPolicyEnforcer which: - Deletes from storage (S3 or filesystem) - Retains accepted-generation catalog tombstones and original custody - Logs all deletions
Parameters
dry_run · query · Optional
{
"default": false,
"title": "Dry Run",
"type": "boolean"
}Authentication
Responses
200
Successful response; resource state is separate from HTTP acceptance.
application/json
Schema
{
"additionalProperties": false,
"properties": {
"deleted_bytes": {
"type": "integer"
},
"deleted_count": {
"type": "integer"
},
"deleted_gb": {
"type": "number"
},
"dry_run": {
"type": "boolean"
}
},
"required": [
"deleted_count",
"deleted_bytes",
"deleted_gb",
"dry_run"
],
"type": "object"
}401
Bearer absent, invalid, disabled, stale or organization unavailable
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Persisted identity lacks required role or installation/platform authority
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}
]
}422
Validation Error
application/json
Schema
500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}DELETE/api/v1/backups/{backup_id}Delete Backup
Delete exact owned payload, retaining its attributable tombstone.
Parameters
backup_id · path · Required
{
"title": "Backup Id",
"type": "string"
}force · query · Optional
{
"default": false,
"title": "Force",
"type": "boolean"
}Authentication
Responses
200
Successful response; resource state is separate from HTTP acceptance.
application/json
Schema
{
"additionalProperties": false,
"properties": {
"deleted_bytes": {
"type": "integer"
},
"deleted_id": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"message",
"deleted_id",
"deleted_bytes"
],
"type": "object"
}401
Bearer absent, invalid, disabled, stale or organization unavailable
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Persisted identity lacks required role or installation/platform authority
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}
]
}404
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}409
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}422
Validation Error
application/json
Schema
500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}502
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}GET/api/v1/backups/{backup_id}Get Backup
Get backup status and details.
Parameters
backup_id · path · Required
{
"title": "Backup Id",
"type": "string"
}Authentication
Responses
200
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"backup_type": {
"type": "string"
},
"completed_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"operator_dispatch": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"request_id": {
"format": "uuid",
"type": "string"
},
"state": {
"enum": [
"pending",
"dispatching",
"delivered",
"held"
],
"type": "string"
}
},
"required": [
"state",
"reason",
"request_id"
],
"type": "object"
},
{
"type": "null"
}
]
},
"progress": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"retention_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"safety_diagnostic": {
"anyOf": [
{
"$ref": "#/components/schemas/StorageSafetyDiagnostic"
},
{
"type": "null"
}
]
},
"scheduler_decision": {
"anyOf": [
{
"description": "Saved nine-field automatic-policy decision. Runtime also validates calendar chronology and recomputes the type/reason against the sealed policy; reading it grants no execution authority.",
"oneOf": [
{
"additionalProperties": false,
"properties": {
"backup_type": {
"const": "full"
},
"generation_id": {
"type": "null"
},
"incremental_count": {
"type": "null"
},
"observed_date": {
"format": "date",
"type": "string"
},
"policy": {
"additionalProperties": false,
"properties": {
"full_every_days": {
"maximum": 36500,
"minimum": 1,
"type": "integer"
},
"max_incrementals": {
"maximum": 255,
"minimum": 1,
"type": "integer"
},
"schema": {
"const": 1,
"type": "integer"
}
},
"required": [
"schema",
"full_every_days",
"max_incrementals"
],
"type": "object"
},
"reason": {
"enum": [
"parent_unavailable",
"new_grant",
"source_changed",
"root_time_unavailable",
"previous_failure"
]
},
"root_backup_id": {
"type": "null"
},
"root_date": {
"type": "null"
},
"schema": {
"const": 1,
"type": "integer"
}
},
"required": [
"schema",
"policy",
"observed_date",
"generation_id",
"root_backup_id",
"root_date",
"incremental_count",
"backup_type",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"backup_type": {
"const": "full"
},
"generation_id": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"type": "string"
},
"incremental_count": {
"minimum": 0,
"type": "integer"
},
"observed_date": {
"format": "date",
"type": "string"
},
"policy": {
"additionalProperties": false,
"properties": {
"full_every_days": {
"maximum": 36500,
"minimum": 1,
"type": "integer"
},
"max_incrementals": {
"maximum": 255,
"minimum": 1,
"type": "integer"
},
"schema": {
"const": 1,
"type": "integer"
}
},
"required": [
"schema",
"full_every_days",
"max_incrementals"
],
"type": "object"
},
"reason": {
"enum": [
"max_incrementals",
"full_interval"
]
},
"root_backup_id": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"type": "string"
},
"root_date": {
"format": "date",
"type": "string"
},
"schema": {
"const": 1,
"type": "integer"
}
},
"required": [
"schema",
"policy",
"observed_date",
"generation_id",
"root_backup_id",
"root_date",
"incremental_count",
"backup_type",
"reason"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"backup_type": {
"const": "incremental"
},
"generation_id": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"type": "string"
},
"incremental_count": {
"minimum": 0,
"type": "integer"
},
"observed_date": {
"format": "date",
"type": "string"
},
"policy": {
"additionalProperties": false,
"properties": {
"full_every_days": {
"maximum": 36500,
"minimum": 1,
"type": "integer"
},
"max_incrementals": {
"maximum": 255,
"minimum": 1,
"type": "integer"
},
"schema": {
"const": 1,
"type": "integer"
}
},
"required": [
"schema",
"full_every_days",
"max_incrementals"
],
"type": "object"
},
"reason": {
"const": "within_policy"
},
"root_backup_id": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"type": "string"
},
"root_date": {
"format": "date",
"type": "string"
},
"schema": {
"const": 1,
"type": "integer"
}
},
"required": [
"schema",
"policy",
"observed_date",
"generation_id",
"root_backup_id",
"root_date",
"incremental_count",
"backup_type",
"reason"
],
"type": "object"
}
]
},
{
"type": "null"
}
]
},
"size_bytes": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"status": {
"type": "string"
},
"storage_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"storage_progress": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"bytes_transferred": {
"maximum": 9223372036854775807,
"minimum": 0,
"type": "integer"
},
"phase": {
"enum": [
"pending",
"preparing",
"uploading",
"finalizing"
],
"type": "string"
},
"plan_sha256": {
"type": "string"
},
"reservation_id": {
"type": "string"
},
"schema": {
"const": 1,
"type": "integer"
},
"total_bytes": {
"maximum": 9223372036854775807,
"minimum": 0,
"type": "integer"
},
"updated_at": {
"format": "date-time",
"type": "string"
}
},
"required": [
"schema",
"reservation_id",
"plan_sha256",
"phase",
"bytes_transferred",
"total_bytes",
"updated_at"
],
"type": "object"
},
{
"type": "null"
}
]
},
"tags": {
"additionalProperties": true,
"description": "Extensible domain metadata; keys are not a closed schema.",
"type": "object",
"x-open-schema-reason": "Persisted/provider-supplied domain metadata permits additional JSON values."
},
"vm_id": {
"type": "string"
},
"vm_name": {
"type": "string"
}
},
"required": [
"id",
"vm_id",
"vm_name",
"status",
"progress",
"safety_diagnostic",
"storage_progress",
"size_bytes",
"retention_days",
"backup_type",
"storage_path",
"tags",
"created_at",
"completed_at",
"operator_dispatch",
"scheduler_decision"
],
"type": "object"
}401
Bearer absent, invalid, disabled, stale or organization unavailable
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Only in demo deployment mode: ordinary API surface is denied before handlers
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}404
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}422
Validation Error
application/json
Schema
500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}GET/api/v1/backups/{backup_id}/restore-bundleGet Restore Bundle
Export accepted chain metadata for vnbui-restore; no keys or credentials.
Parameters
backup_id · path · Required
{
"title": "Backup Id",
"type": "string"
}Authentication
Responses
200
Successful response; resource state is separate from HTTP acceptance.
application/json
Schema
401
Bearer absent, invalid, disabled, stale or organization unavailable
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Persisted identity lacks required role or installation/platform authority
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}
]
}409
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}422
Validation Error
application/json
Schema
500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}POST/api/v1/backups/{backup_id}/resumeResume Attempt
Redeliver only this backup's original durable attempt; never replace it.
Parameters
backup_id · path · Required
{
"title": "Backup Id",
"type": "string"
}Authentication
Responses
200
Successful response; resource state is separate from HTTP acceptance.
application/json
Schema
{
"additionalProperties": false,
"properties": {
"backup_id": {
"type": "string"
},
"resumed": {
"const": false
},
"status": {
"const": "completed"
}
},
"required": [
"status",
"backup_id",
"resumed"
],
"type": "object"
}202
Successful response; resource state is separate from HTTP acceptance.
application/json
Schema
{
"additionalProperties": false,
"properties": {
"attempt_id": {
"type": "string"
},
"backup_id": {
"type": "string"
},
"resumed": {
"const": true
},
"status": {
"const": "accepted"
}
},
"required": [
"status",
"backup_id",
"resumed",
"attempt_id"
],
"type": "object"
}401
Bearer absent, invalid, disabled, stale or organization unavailable
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Persisted identity lacks required role or installation/platform authority
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}
]
}422
Validation Error
application/json
Schema
423
Original attempt remains held; this response does not authorize replacement or release.
application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"backup_id": {
"type": "string"
},
"capacity_retained": {
"const": true
},
"reason": {
"type": "string"
},
"status": {
"const": "held"
}
},
"required": [
"status",
"backup_id",
"reason",
"capacity_retained"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"backup_id": {
"type": "string"
},
"capacity_retained": {
"const": true,
"type": "boolean"
},
"reason": {
"type": "string"
},
"status": {
"const": "held",
"type": "string"
}
},
"required": [
"status",
"backup_id",
"reason",
"capacity_retained"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}POST/api/v1/backups/{backup_id}/retry-uploadRetry Upload
Attribute manual retry without converting uncertainty to send authority.
Parameters
backup_id · path · Required
{
"title": "Backup Id",
"type": "string"
}Authentication
Responses
401
Bearer absent, invalid, disabled, stale or organization unavailable
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Request refused or failed
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}
]
}404
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}409
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}422
Validation Error
application/json
Schema
423
Original custody retained; no upload is dispatched.
application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"reason": {
"type": "string"
},
"status": {
"const": "held"
}
},
"required": [
"status",
"reason"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"reason": {
"type": "string"
},
"status": {
"const": "held",
"type": "string"
}
},
"required": [
"status",
"reason"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}