Api Request Logs Summary Partial Update
PATCH handler with superadmin lock and field protection.
Checks:
- Object lock (is_managed=True -> non-superadmins can’t modify)
- Field protection (non-superadmins can’t modify specific fields)
Authentication
AuthorizationBearer
JWT access token or Respan API key
Request
This endpoint expects an object.
id
organization_id
organization_key_id
environment
timestamp
start_time
prompt_id
prompt_name
trace_unique_id
customer_identifier
customer_name
customer_email
thread_identifier
custom_identifier
unique_organization_id
log_type
prompt_tokens
completion_tokens
total_request_tokens
prompt_cache_hit_tokens
prompt_cache_creation_tokens
reasoning_tokens
cost
model
latency
tokens_per_second
time_to_first_token
routing_time
status_code
status
blurred
storage_object_key
updated_storage_object_key
span_workflow_name
span_name
note
Response
id
organization_id
organization_key_id
environment
prompt_name
trace_unique_id
customer_identifier
thread_identifier
unique_organization_id
log_type
metadata
scores
system
prompt
completion
positive_feedback
timestamp
start_time
prompt_id
customer_name
customer_email
custom_identifier
prompt_tokens
completion_tokens
total_request_tokens
prompt_cache_hit_tokens
prompt_cache_creation_tokens
reasoning_tokens
cost
model
latency
tokens_per_second
time_to_first_token
routing_time
status_code
status
blurred
storage_object_key
updated_storage_object_key
span_workflow_name
span_name
note