Datasets

Create dataset items from traces

Changed on

Create dataset items from traces with enriched metadata

post/v1/private/datasets/{dataset_id}/items/from-traces

Request

  • Base URL
    http://localhost:5173/api
  • URL
    http://localhost:5173/api/v1/private/datasets/{dataset_id}/items/from-traces
  • Auth
    none declared

Path parameters

dataset_idstring uuid required

Request body

trace_idsstring[] required

Set of trace IDs to add to the dataset

field_mappingsobject

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

Changes