cURL
curl --request POST \ --url https://api.lunary.ai/v1/datasets \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "slug": "<string>", "format": "text", "prompt": "<string>", "withPromptVariation": true } '
{ "id": "<string>", "slug": "<string>", "format": "text", "ownerId": "<string>", "projectId": "<string>" }
Documentation IndexFetch the complete documentation index at: https://docs.lunary.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.lunary.ai/llms.txt
Use this file to discover all available pages before exploring further.
Use a project private API key via Authorization: Bearer <key>.
Authorization: Bearer <key>
text
Created dataset
chat