/v1/project_logs/{project_id}/insertInsert project log events
Inserts a set of events into the logs for a project. Supply the events in events, including the application inputs and outputs you want to evaluate, optional scores and metadata, execution metrics, context, tags, and event identifiers. Use the merge controls when you need to replace or deep-merge an existing event with the same id.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
An object containing the project log events to insert.
The events field is required, and a 400 is returned when it is missing or the request is unacceptable. A 401 indicates that no valid API key was provided, while a 403 indicates that the API key lacks permission; a 429 indicates excessive request frequency, and a 500 indicates an internal API failure. Keep values in scores between 0 and 1, and use _is_merge with _merge_paths only when controlling how an existing event is merged.