---
title: "Set or clear an agent-hook workspace snooze"
method: POST
path: "/api/agent-hook/snooze"
tags: ["agent-hook"]
---

# Set or clear an agent-hook workspace snooze

`POST /api/agent-hook/snooze`

## Request body

- AgentHookSnoozeRequest
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `branch` string
  - `enabled` boolean, required
  - `repo_path` string, required
  - `snoozed_until` string, date-time
  - `worktree_path` string, required

## Response `200`

OK

- AgentHookSnoozeOutputBody
  - `$schema` string, uri — A URL to the JSON Schema for this object.
  - `snoozed` boolean, required
  - `snoozed_until` string, date-time

## Other responses

- `default` — Error

## Changes

- **2026-08-03** `8a1522d135c4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/kenn-io/apis/roborev/changes/api/agent-hook/snooze/post.md)

---

[API](https://skmtc.dev/kenn-io/apis/roborev.md) · [All operations](https://skmtc.dev/kenn-io/apis/roborev/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kenn-io/roborev/revisions/0dfdca81e88d/schema)
