---
title: "Update thread"
method: PATCH
path: "/v1/private/traces/threads/{threadModelId}"
tags: ["Traces"]
---

# Update thread

`PATCH /v1/private/traces/threads/{threadModelId}`

Update thread

## Path parameters

- `threadModelId` string, uuid, required

## Request body

- TraceThreadUpdate
  - `tags` string[]
  - `tags_to_add` string[]
  - `tags_to_remove` string[]

## Response `204`

No Content

## Other responses

- `404` — Not found

---

[API](https://skmtc.net/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.net/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/versions/4ed2fbc97cc3/schema)
