Docs Home Return to Homepage
Get Started Login

Take Snapshot

Last updated Changelog

On this page
http
POST /crates/{handle}/snapshots

Takes a snapshot now and returns it. Snapshots use the crate’s space. The plan’s snapshot limit covers scheduled and manual ones together, so a manual snapshot needs room beside what the schedules keep (400 when there’s none).

Parameters

Field Type Required Default Description
target string No crate crate for every folder at once, or a folder’s name for that folder only
label string No A note for yourself: letters, digits, spaces, dots, hyphens and underscores (max 60)

Response (201)

json
{
  "name": "manual-20261017-0412-k2",
  "label": "Before cleanup",
  "kind": "manual",
  "schedule": null,
  "target": "photos",
  "created_at": "2026-10-17T04:12:00+00:00",
  "used_bytes": 0
}

Errors

Besides the errors any endpoint can return:

Status Code When
400 limit_reached The plan allows no more of this (domains, databases, sub-users, snapshots, keys).
400 operation_rejected The server behind the API (mail, database, storage) or the registrar refused the operation. error says why.
403 not_in_plan This plan doesn’t include snapshots.
403 scope_denied This API key does not have Crates write access for this crate.
403 service_inactive This crate is not active.
404 not_found Crate not found.
502 upstream_unavailable This crate has no storage node.

Snagged on something?

Our sysadmins answer tickets around the clock.