---
title: "Force refresh worktree status"
method: POST
path: "/v1/git/worktrees/{id}/refresh"
tags: ["git"]
---

# Force refresh worktree status

`POST /v1/git/worktrees/{id}/refresh`

Forces an immediate refresh of a worktree's cached status including commit counts

## Path parameters

- `id` string, required

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