v15

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-03377590.5 KB
agent-hook

Set or clear an agent-hook workspace snooze

post/api/agent-hook/snooze

Request body

$schemastring uri

A URL to the JSON Schema for this object.

branchstring
enabledboolean required
repo_pathstring required
snoozed_untilstring date-time
worktree_pathstring required

Example request

{
  "$schema": "https://example.com/AgentHookSnoozeRequest.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

snoozedboolean required
snoozed_untilstring date-time

Example response

{
  "$schema": "https://example.com/AgentHookSnoozeOutputBody.json"
}