Datasets

Get prompt variation by ID

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

Parameters

NameLocated InRequiredSchema
idpathYesstring

Responses

200

Prompt variation details

PropertyTypeDescription
idstring
promptIdstring
variablesobject
idealOutputstring

Questions? We're here to help.

Email