---
title: "Pause an agent"
method: POST
path: "/orgs/{org_id}/agents/{agent_id}/pause"
tags: ["Agent Containment"]
---

# Pause an agent

`POST /orgs/{org_id}/agents/{agent_id}/pause`

## Request

- Base URL: `https://api.mnemom.ai/v1`
- URL: `https://api.mnemom.ai/v1/orgs/{org_id}/agents/{agent_id}/pause`
- Auth: HTTP bearer

Temporarily stop an agent from making API requests. Requires owner or admin role. Authorization: the caller must be an owner/admin of the organization named by `org_id`, and `agent_id` is validated to belong to that organization (queried together), so an agent that is not in the caller's org returns 404 and no other tenant's agent can be paused.

## Path parameters

- `org_id` string, required
- `agent_id` string, required

## Request body

- object
  - `reason` string: Reason for pausing the agent

## Response `200`

Agent paused successfully

- object
  - `agent_id` string
  - `containment_status` 'paused'
  - `contained_at` string, date-time
  - `contained_by` string
  - `containment_reason` string, nullable

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `429`: Rate-limit exceeded. The global per-IP limiter (100 requests/minute, applied to every `/v1/*` route) rejected this request. Back off until the window resets — `Retry-After` carries the cooldown in seconds and `X-RateLimit-Reset` the absolute reset time.
- `500`: Server error — request was well-formed but the server failed to fulfill it. Typically a downstream dependency (DB / RPC / external API) returned an unexpected error.

---

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