Logs
Update single log
PATCH
The Update Log endpoint allows you to modify specific fields of a single log. This is useful for adding annotations, updating metadata, or correcting information.
For updating multiple logs at once, use the Batch Update endpoint.
Updatable fields
The following fields can be updated:metadata- Custom metadata propertiescustom_identifier- Custom identifierblurred- Privacy flag to blur log content
Path parameters
string
required
The unique ID of the log to update. You can get this from the List Logs endpoint.
Body parameters
object
Update the log’s metadata with custom properties. This can be used for tagging, categorization, or adding context.
Example
Example
string
Update the log’s custom identifier. Useful for linking logs to external systems.
Example
Example
boolean
Set whether the log content should be blurred for privacy reasons.
Example
Example
Response
Returns the complete updated log object (same structure as the Get Log endpoint).Use Cases
Add user feedback
Add user feedback
Link log to support ticket
Link log to support ticket
Mark logs for review
Mark logs for review
Blur sensitive logs
Blur sensitive logs
Tag logs with experiments
Tag logs with experiments
Metadata Best Practices
Organizing metadata
- Use consistent keys: Establish naming conventions across your organization
- Add timestamps: Include
_ator_timestampfields for tracking when metadata was added - Namespace related fields: Use prefixes like
review_,feedback_,experiment_to group related fields - Keep it queryable: Use simple data types (strings, numbers, booleans) for fields you’ll filter on
- Document your schema: Maintain documentation of your metadata structure
Error Responses
Related Endpoints
- Batch Update Logs - Update multiple logs at once
- Get Log - View log details before updating
- List Logs - Find logs to update using filters