Vesta Backup

health

Vesta API · 6.0.75 · Community

POST/api/v1/agents/backups/{backup_id}/checkpoint-proofTransaction Checkpoint Proof

Parameters

backup_id · path · Required

{
  "title": "Backup Id",
  "type": "string"
}

X-Agent-Key · header · Optional

{
  "title": "X-Agent-Key",
  "type": "string"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{}

422

Validation Error

application/json

Schema

HTTPValidationError

POST/api/v1/agents/backups/{backup_id}/finalize-intentTransaction Finalize Intent

Parameters

backup_id · path · Required

{
  "title": "Backup Id",
  "type": "string"
}

X-Agent-Key · header · Optional

{
  "title": "X-Agent-Key",
  "type": "string"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{}

422

Validation Error

application/json

Schema

HTTPValidationError

POST/api/v1/agents/backups/{backup_id}/native-admissionNative Admission

Parameters

backup_id · path · Required

{
  "title": "Backup Id",
  "type": "string"
}

X-Agent-Key · header · Optional

{
  "title": "X-Agent-Key",
  "type": "string"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{}

422

Validation Error

application/json

Schema

HTTPValidationError

POST/api/v1/agents/backups/{backup_id}/native-closed-failureNative Closed Failure

Parameters

backup_id · path · Required

{
  "title": "Backup Id",
  "type": "string"
}

X-Agent-Key · header · Optional

{
  "title": "X-Agent-Key",
  "type": "string"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{}

422

Validation Error

application/json

Schema

HTTPValidationError

POST/api/v1/agents/backups/{backup_id}/native-fenced-failureNative Fenced Failure

Parameters

backup_id · path · Required

{
  "title": "Backup Id",
  "type": "string"
}

X-Agent-Key · header · Optional

{
  "title": "X-Agent-Key",
  "type": "string"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{}

422

Validation Error

application/json

Schema

HTTPValidationError

POST/api/v1/agents/backups/{backup_id}/native-inventoryNative Inventory

Parameters

backup_id · path · Required

{
  "title": "Backup Id",
  "type": "string"
}

X-Agent-Key · header · Optional

{
  "title": "X-Agent-Key",
  "type": "string"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{}

422

Validation Error

application/json

Schema

HTTPValidationError

POST/api/v1/agents/backups/{backup_id}/native-no-effectNative No Effect

Parameters

backup_id · path · Required

{
  "title": "Backup Id",
  "type": "string"
}

X-Agent-Key · header · Optional

{
  "title": "X-Agent-Key",
  "type": "string"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{}

422

Validation Error

application/json

Schema

HTTPValidationError

POST/api/v1/agents/backups/{backup_id}/native-publicationNative Publication

Parameters

backup_id · path · Required

{
  "title": "Backup Id",
  "type": "string"
}

X-Agent-Key · header · Optional

{
  "title": "X-Agent-Key",
  "type": "string"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{}

422

Validation Error

application/json

Schema

HTTPValidationError

POST/api/v1/agents/backups/{backup_id}/native-transactionNative Transaction

Parameters

backup_id · path · Required

{
  "title": "Backup Id",
  "type": "string"
}

X-Agent-Key · header · Optional

{
  "title": "X-Agent-Key",
  "type": "string"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{}

422

Validation Error

application/json

Schema

HTTPValidationError

POST/api/v1/agents/backups/{backup_id}/prepared-receiptPrepared Receipt

A durable acceptance permits finalize, never completion or visibility. The agent must retain its prepared journal until this response is received. Authentication installs persisted tenant identity before any reservation read.

Parameters

backup_id · path · Required

{
  "title": "Backup Id",
  "type": "string"
}

X-Agent-Key · header · Optional

{
  "title": "X-Agent-Key",
  "type": "string"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{}

422

Validation Error

application/json

Schema

HTTPValidationError

POST/api/v1/agents/backups/{backup_id}/storage-controlStorage Control

Finite, authenticated control; signed authority never enters durable state.

Parameters

backup_id · path · Required

{
  "title": "Backup Id",
  "type": "string"
}

X-Agent-Key · header · Optional

{
  "title": "X-Agent-Key",
  "type": "string"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{}

422

Validation Error

application/json

Schema

HTTPValidationError

POST/api/v1/agents/backups/{backup_id}/storage-retirementStorage Retirement

Reveal only the exact reviewed release to its original agent.

Parameters

backup_id · path · Required

{
  "title": "Backup Id",
  "type": "string"
}

X-Agent-Key · header · Optional

{
  "title": "X-Agent-Key",
  "type": "string"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{}

422

Validation Error

application/json

Schema

HTTPValidationError

POST/api/v1/agents/backups/{backup_id}/transaction-keyTransaction Key

Authenticated, no-store, memory-only key delivery for exact live custody.

Parameters

backup_id · path · Required

{
  "title": "Backup Id",
  "type": "string"
}

X-Agent-Key · header · Optional

{
  "title": "X-Agent-Key",
  "type": "string"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{}

422

Validation Error

application/json

Schema

HTTPValidationError

GET/api/v1/agents/{agent_id}/pending-jobsGet Agent Pending Jobs

Get backup jobs orchestrator believes are running on this agent. Used by agent on startup to reconcile state - determine which backups the orchestrator thinks are running so agent can verify reality. Returns: dict: backups list with id, vm_name, storage_path, started_at

Parameters

agent_id · path · Required

{
  "title": "Agent Id",
  "type": "string"
}

X-Agent-Key · header · Optional

{
  "title": "X-Agent-Key",
  "type": "string"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{}

422

Validation Error

application/json

Schema

HTTPValidationError

GET/api/v1/healthGet Health

Consolidated system health endpoint. Returns comprehensive health data for all system components. Use the `include` parameter to request specific sections only. Args: include: Comma-separated list of sections to include. Options: database, agents, storage, s3, api, metrics, services. If not specified, all sections are included. Returns: Health data for requested sections.

Parameters

include · query · Optional

{
  "anyOf": [
    {
      "type": "string"
    },
    {
      "type": "null"
    }
  ],
  "title": "Include"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{}

422

Validation Error

application/json

Schema

HTTPValidationError

GET/api/v1/health/agentsGet Agent Health Deprecated

DEPRECATED: Use /api/v1/health instead. This endpoint will be removed in v4.0.

Authentication

Responses

200

Successful Response

application/json

Schema
{}

POST/api/v1/health/agents/{agent_id}/heartbeatAgent Heartbeat

Agent heartbeat endpoint - requires agent API key authentication. Called by agent every 30 seconds to report it's alive and send metrics. Args: agent_id: Agent ID from URL path request: Request body with metrics agent: Authenticated agent (from X-Agent-Key header) db: Database session Returns: dict: Status and timestamp

Parameters

agent_id · path · Required

{
  "title": "Agent Id",
  "type": "string"
}

X-Agent-Key · header · Optional

{
  "title": "X-Agent-Key",
  "type": "string"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{}

422

Validation Error

application/json

Schema

HTTPValidationError

GET/api/v1/health/backupsGet Backup Health Deprecated

DEPRECATED: Use /api/v1/health instead. This endpoint will be removed in v4.0.

Authentication

Responses

200

Successful Response

application/json

Schema
{}

GET/api/v1/health/detailedGet Detailed Health Deprecated

DEPRECATED: Use /api/v1/health instead. This endpoint will be removed in v4.0.

Authentication

Responses

200

Successful Response

application/json

Schema
{}

GET/api/v1/health/diagnosticsSupport Diagnostics

Admin-only, organization-scoped download; collection never repairs state.

Parameters

backup_id · query · Optional

{
  "anyOf": [
    {
      "format": "uuid",
      "type": "string"
    },
    {
      "type": "null"
    }
  ],
  "title": "Backup Id"
}

Authentication

Responses

200

Successful Response

application/json

Schema
{}

422

Validation Error

application/json

Schema

HTTPValidationError

GET/api/v1/health/systemGet System Health Deprecated

DEPRECATED: Use /api/v1/health instead. This endpoint will be removed in v4.0.

Authentication

Responses

200

Successful Response

application/json

Schema
{}