---
title: "Close trace thread(s)"
method: PUT
path: "/v1/private/traces/threads/close"
tags: ["Traces"]
---

# Close trace thread(s)

`PUT /v1/private/traces/threads/close`

Close one or multiple trace threads. Supports both single thread_id and multiple thread_ids for batch operations.

## Request body

- TraceThreadBatchIdentifier
  - `project_name` string
  - `project_id` string, uuid
  - `thread_id` string
  - `thread_ids` 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)
