GET
/
v1
/
datasets
/
variations
/
{id}
curl --request GET \
  --url https://api.lunary.ai/v1/datasets/variations/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "promptId": "<string>",
  "variables": {},
  "idealOutput": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

200 - application/json
Prompt variation details
id
string
promptId
string
variables
object
idealOutput
string