cURL
curl --request PATCH \ --url https://api.lunary.ai/v1/datasets-v2/{datasetId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "ownerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "ownerName": "<string>", "ownerEmail": "<string>", "name": "<string>", "description": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "itemCount": 123, "currentVersionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "currentVersionNumber": 123, "currentVersionCreatedAt": "2023-11-07T05:31:56Z", "currentVersionCreatedBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "currentVersionRestoredFromVersionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "evaluatorSlot1Id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "evaluatorSlot2Id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "evaluatorSlot3Id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "evaluatorSlot4Id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "evaluatorSlot5Id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Updated dataset