cURL
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>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Generated output for the dataset item