cURL
curl --request POST \ --url https://api.promptmetrics.dev/dataset \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Evaluation Dataset" } '
{ "responseData": { "_id": "<string>", "workspace_id": "<string>", "name": "<string>", "version": "<string>", "headers": [ "<string>" ], "rows": "<array>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "deleted_at": "2023-11-07T05:31:56Z" }, "message": "<string>" }
Create a new dataset in a workspace.
SDK API key in format: pm_
Column headers
Dataset created
Show child attributes