---
title: "Hibernate an agent"
method: POST
path: "/agents/{agent_id}/hibernate"
tags: ["Agents"]
---

# Hibernate an agent

`POST /agents/{agent_id}/hibernate`

## Request

- Base URL: `https://api-docs.jackhamr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.jackhamr.ai/agents/{agent_id}/hibernate`
- Auth: none declared

Hibernate an agent by snapshotting then stopping it.

## Path parameters

- `agent_id` string, required

## Query parameters

- `snapshot_name` string, nullable: Custom snapshot name

## Response `200`

Successful Response

- AgentHibernateResponse: Hibernation response.
  - `agent_id` string, required
  - `snapshot_name` string, required
  - `status` string, required
  - `message` string, required
  - `hibernated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jackhamr/apis/jackhamr-api.md) · [All operations](https://skmtc.dev/jackhamr/apis/jackhamr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/jackhamr/apis/jackhamr-api/revisions/f75d221481d8?raw)
