---
title: "Take an off-pod snapshot right now."
method: POST
path: "/agents/{id}/backup"
tags: ["Agents"]
---

# Take an off-pod snapshot right now.

`POST /agents/{id}/backup`

## Request

- Base URL: `https://agentspodium.com/api`
- URL: `https://agentspodium.com/api/agents/{id}/backup`
- Auth: HTTP bearer

Call before a risky change if you do not want to wait for the daily automatic backup.

## Path parameters

- `id` string, required

## Response `200`

Backed up.

- object
  - `backup` object, required
    - `file` string, required
    - `size` integer, required

## Other responses

- `400`: Agent is not deployed.
- `401`: Missing, invalid, expired, or revoked credential.
- `404`: No such agent, key, or persona for this account.

---

[API](https://skmtc.dev/defispace/apis/agentspodium-account-api-agent-facing-subset.md) · [All operations](https://skmtc.dev/defispace/apis/agentspodium-account-api-agent-facing-subset/llms.txt) · [OpenAPI document](https://skmtc.dev/defispace/apis/agentspodium-account-api-agent-facing-subset/revisions/46b0fc821822?raw)
