v3

latestOpenAPI 3.1.02026-07-311,4541,5202.3 MB
logs

Clickhouse Traces Partial Update

PATCH handler with superadmin lock and field protection.

Checks:

  1. Object lock (is_managed=True -> non-superadmins can't modify)
  2. Field protection (non-superadmins can't modify specific fields)
patch/clickhouse/traces/

Headers

Authorizationstring required

JWT access token or Respan API key

Request body

idstring
trace_unique_idstring
root_span_unique_idstring
unique_organization_idstring
environmentstring
customer_identifierstring
start_timestring date-time
end_timestring date-time
durationnumber double
span_countinteger
llm_call_countinteger
total_costnumber double
total_prompt_tokensinteger
total_completion_tokensinteger
total_tokensinteger
error_countinteger
namestring
inputstring
outputstring
storage_object_keystring
organization_namestring
organization_idstring
organization_key_idstring
{"stackTrail":"components:schemas:PatchedCHTraceListRequest:properties:metadata","oasType":"schema","type":"unknown","description":"Any type"}
trace_group_identifierstring
session_identifierstring
modelstring

Response

idstring required
trace_unique_idstring required
root_span_unique_idstring
unique_organization_idstring
environmentstring
customer_identifierstring
start_timestring date-time
end_timestring date-time
durationnumber double
span_countinteger
llm_call_countinteger
total_costnumber double
total_prompt_tokensinteger
total_completion_tokensinteger
total_tokensinteger
error_countinteger
namestring
inputstring
outputstring
storage_object_keystring
organization_namestring
organization_idstring
organization_key_idstring
{"stackTrail":"components:schemas:CHTraceList:properties:metadata","oasType":"schema","type":"unknown","description":"Any type"}
trace_group_identifierstring
session_identifierstring
modelstring