Authorizations
Body
application/json
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>"
}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>"
}