Skip to main content
PATCH
You may want to update logs to add more information or correct the existing information. In order to protect the integrity of the logs, you can only update specific fields.

Updatable fields

The following fields can be updated:
  • metadata - Custom metadata properties
  • note - Log notes
  • positive_feedback - User feedback indicator
  • custom_identifier - Custom identifier

Core log data is immutable

Fields like input, output, log_type, model, usage, cost, latency, and other telemetry fields cannot be modified to maintain data integrity.For log_type specifications, see log types.

Body parameters

string
You can get a log’s unique_id from the Logs list endpoint. Then pass this unique_id to update the log.
dict
You can update the log’s metadata with this parameter.
string
You can also update a log’s note
boolean
Update the log’s positive_feedback field.