Skip to main content
POST
/
v1
/
datasets-v2
/
{datasetId}
/
items
/
{itemId}
/
generate
Generate dataset item output
curl --request POST \
  --url https://api.lunary.ai/v1/datasets-v2/{datasetId}/items/{itemId}/generate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "<string>",
  "instructions": "<string>"
}'
{
  "output": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

datasetId
string<uuid>
required
itemId
string<uuid>
required

Body

application/json
model
string
instructions
string

Response

200 - application/json

Generated output for the dataset item

output
string