v1

latestOpenAPI 3.0.02026-07-1325041.3 KB

Add a single pair to a dataset (creates new dataset if the system_prompt_template that's provided doesn't correspond to an existing dataset)

post/data/seed/pair

Request body

idstring

Optional ID for the pair, will be generated if not provided

inputstring required
outputstring required
labelsstring[]
input_mediastring byte

Optional base64 encoded media data

system_prompt_templatestring required

If this prompt already exists, the pair will be added to the existing dataset. If not, a new dataset will be created.

Response

Pair successfully added to dataset (existing or newly created)

dataset_idstring
pair_idstring