hooks

Clear a keep or reject (undo)

Undo a verdict: the hook goes back to having none, so it leaves GET /v1/keeps and its export row carries no verdict. Answers {"hook_id", "verdict": null}. Clearing a hook that has no decision is the same 200, so a retried undo is safe. Free. MCP: clear_decision.

delete/v1/hooks/{hook_id}/decision

Request

  • Base URL: https://api.hookdetector.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.hookdetector.com/v1/hooks/{hook_id}/decision
  • Auth: none declared

Path parameters

hook_idstring uuid required

Headers

authorizationstring nullable

Bearer hd_... from POST /v1/accounts or POST /v1/keys

Response

Successful Response

hook_idstring required
verdictunknown required

Example response

{
  "hook_id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d"
}

Changes

No recorded changes to this operation across all 1 revision of this API.