---
title: "Clickhouse Traces Partial Update 2"
method: PATCH
path: "/clickhouse/traces/{trace_unique_id}/"
tags: ["logs"]
---

# Clickhouse Traces Partial Update 2

`PATCH /clickhouse/traces/{trace_unique_id}/`

Toggle is_public on a trace via ch_trace_metadata upsert.

ReplacingMergeTree — INSERT with newer updated_at supersedes old row.
PK hit on (org_id, trace_unique_id).

## Path parameters

- `trace_unique_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

No response body

- LogsClickhouseTracesPartialUpdate2Response200 — Empty response body

---

[API](https://skmtc.net/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.net/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keywordsai/api-reference/versions/c26d550029f8/schema)
