---
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

## Changes

- **2025-08-10** `f40a5b6eaaef` — 1 info
  - endpoint added
- **2025-07-18** `21270d5158bd` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/wandb/apis/catnip-container-api/changes/v1/claude/hooks/post.md)

---

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