---
title: "Handle Claude hook events"
method: POST
path: "/v1/claude/hooks"
tags: ["claude"]
---

# Handle Claude hook events

`POST /v1/claude/hooks`

Receives hook notifications from Claude Code for activity tracking

## Request body

- GithubComVanpeltCatnipInternalModelsClaudeHookEvent — Claude Code hook event for activity tracking
  - `data` object — Additional event-specific data
  - `event_type` string — Type of the hook event (UserPromptSubmit, Stop, etc.)
  - `session_id` string — Session ID if available
  - `working_directory` string — Working directory where the event occurred

## Response `200`

OK

- object

---

[API](https://skmtc.net/wandb/apis/catnip-container-api.md) · [All operations](https://skmtc.net/wandb/apis/catnip-container-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wandb/catnip-container-api/versions/a075b0fa501a/schema)
