cURL
curl --request POST \ --url https://beta.getplum.ai/v1/data/seed/pair \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "input": "<string>", "output": "<string>", "system_prompt_template": "<string>", "id": "<string>", "labels": [ "<string>" ], "input_media": "aSDinaTvuI8gbWludGxpZnk=" } '
{ "dataset_id": "<string>", "pair_id": "<string>" }
If this prompt already exists, the pair will be added to the existing dataset. If not, a new dataset will be created.
Optional ID for the pair, will be generated if not provided
Optional base64 encoded media data
Pair successfully added to dataset (existing or newly created)