Datasets

Create a new prompt

POST
/v1/datasets/prompts
curl --request POST \
  --url https://api.lunary.ai/v1/datasets/prompts \
  --header 'Authorization: Bearer <api_key>' \
  --header 'Content-Type: application/json' \
  --data '{}'

Request Body

PropertyTypeDescription
datasetIdstring
messagesarray
idealOutputstring

Responses

200

Created prompt

PropertyTypeDescription
idstring
datasetIdstring
messagesarray

Questions? We're here to help.

Email