---
title: "Create VM backup (top-level)"
method: POST
path: "/virtual_machine_backups"
tags: ["Virtual machine backups"]
---

# Create VM backup (top-level)

`POST /virtual_machine_backups`

Triggers a backup of the Virtual Machine referenced in the body.

## Request body

- VirtualMachineBackupPayload
  - `data` object
    - `type` 'virtual_machine_backups'
    - `attributes` object
      - `virtual_machine` string, required — Virtual machine id to back up. Required on the top-level `POST /virtual_machine_backups`; taken from the path when nested under a VM.

## Response `201`

Created

## Other responses

- `403` — Forbidden
- `404` — Not Found

## Changes

> 29 revisions in range; 26 could not be searched.

- **2026-07-21** `885dec47dd47` — 3 info
  - added the optional property `data/attributes/project/stats/databases` to the response with the `201` status
  - added the optional property `data/attributes/project/stats/storages` to the response with the `201` status
  - added the optional property `data/attributes/project/stats/virtual_machines` to the response with the `201` status

[Change history](https://skmtc.dev/latitude/apis/latitude-sh-api/changes/virtual_machine_backups/post.md)

---

[API](https://skmtc.dev/latitude/apis/latitude-sh-api.md) · [All operations](https://skmtc.dev/latitude/apis/latitude-sh-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/latitude/latitude-sh-api/revisions/c80535f26dd7/schema)
