Skip to main content
POST
/
data
/
synthetic
Upload new synthetic data
curl --request POST \
  --url https://beta.getplum.ai/v1/data/synthetic \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "data": [
    {
      "input": "<string>",
      "output": "<string>"
    }
  ],
  "system_prompt": "<string>"
}'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Body

application/json
data
object[]
required
system_prompt
string

Response

200 - application/json

Synthetic data successfully uploaded

id
string
I