- Adding ground truths that only became available later.
- Logging human feedback (e.g., thumbs up/down, ratings).
- Attaching business signals such as conversions or revenue impact.
How updates work
Every trace streamed to Openlayer has aninference_id, which is a unique identifier.
- If you provide your own inference IDs, you can easily reference and update those traces later.
- If you don’t, Openlayer auto-generates them for you.
Example: Add a ground truth
Let’s say you want to add aground_truth column for a previously logged trace.
inference_id="832y98d3" by attaching a ground truth.
Using custom inference IDs
When tracing with the@trace decorator, you can set your own inference IDs.
This makes it easy to correlate requests with later feedback or business signals.
chat_{conversation_id}_{user_id}) in your update calls.
Deleting production data
An update rewrites what a record says. Deleting removes the record entirely, which is what you want when the data should not be in Openlayer at all: a load test skewing your metrics, or a trace that captured something it shouldn’t have. Deleting records and sessions requires thedelete_monitoring_record permission, which project
admins hold. See Roles and permissions for how permissions are
granted.
Deletion applies to the records Openlayer stores for you. When a project reads
its data from an external table through a connector, such as
BigQuery, delete the rows in that table instead.
Delete a single record
Open the record from your project’s data table and choose Delete record. Openlayer asks you to confirm, and warns that the action cannot be undone and that the record leaves the data source forever. Confirm with Delete record.Delete sessions
On Sessions, select the sessions you want to remove, then choose Batch actions → Delete selected. The Delete sessions dialog states how many records go with them, along with their scores, embeddings, and summaries. TypeI am sure to confirm, then click Delete sessions, or
Delete session when you selected one.
Openlayer accepts up to 500 sessions per delete request. Work through a larger cleanup in
batches.