Skip to navigation

Create dataset items from traces

View as Markdown
Create dataset items from traces with enriched metadata

Path parameters

dataset_idstringRequiredformat: "uuid"

Request

This endpoint expects an object.
trace_idslist of stringsRequired
Set of trace IDs to add to the dataset
enrichment_optionsobjectRequired
Options for enriching trace data
evaluatorslist of objectsOptional
Optional evaluators to apply to the created items
field_mappingsmap from strings to stringsOptional

Optional mapping of dataset item field name to a path into the trace, e.g. 'input.input_text'. Takes precedence over the fields produced by enrichment_options. Ignored for test suite datasets.

Response

No content