Skip to main content
GET
/
dataset
/
{dataSetId}
Get Dataset
curl --request GET \
  --url https://api.promptmetrics.dev/dataset/{dataSetId} \
  --header 'Authorization: Bearer <token>'
{
  "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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

dataSetId
string
required

Response

200 - application/json

Dataset

responseData
object
message
string