---
title: "Get worktree latest assistant message"
method: GET
path: "/v1/claude/latest-message"
tags: ["claude"]
---

# Get worktree latest assistant message

`GET /v1/claude/latest-message`

Returns the most recent assistant message from Claude Code session for a specific worktree

## Query parameters

- `worktree_path` string, required

## Response `200`

OK

- object

## Changes

- **2025-08-25** `52ae1449f822` — 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/latest-message/get.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)
