claude

Handle Claude hook events

Changed on

Receives hook notifications from Claude Code for activity tracking

post/v1/claude/hooks

Request

  • Base URL
    http://localhost:6369
  • URL
    http://localhost:6369/v1/claude/hooks
  • Auth
    none declared

Request body

dataobject

Additional event-specific data

event_typestring

Type of the hook event (UserPromptSubmit, Stop, etc.)

session_idstring

Session ID if available

working_directorystring

Working directory where the event occurred

Example request

{
  "event_type": "UserPromptSubmit",
  "session_id": "abc123-def456-ghi789",
  "working_directory": "/workspace/my-project"
}

Response

OK

object required

Changes