cURL
curl --request PATCH \ --url https://api.lunary.ai/v1/datasets/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "slug": "<string>" }'
{ "id": "<string>", "slug": "<string>", "format": "text", "ownerId": "<string>", "projectId": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Updated dataset
text
chat