Post API agent hook event

Changed on
post/api/agent-hook/event

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

$schemastring uri

A URL to the JSON Schema for this object.

agentstring required
commit_thresholdinteger required
defer_post_tool_reminderboolean
failed_review_thresholdinteger required
instructionstring required
thresholdinteger required

Example request

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

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

commit_countinteger
commit_thresholdinteger
countinteger required
diagnosisstring
failed_review_countinteger
failed_review_thresholdinteger
fix_session_idstring
reasonstring
remind_countinteger
session_idstring required
skippedboolean
thresholdinteger required
triggeredboolean required
triggered_bystring

Example response

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

Changes