Skip to main content
GET
/
dataset
/
workspace
/
{workspaceId}
List Datasets in Workspace
curl --request GET \
  --url https://api.promptmetrics.dev/dataset/workspace/{workspaceId} \
  --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"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

workspaceId
string
required

Response

200 - application/json

Datasets list

responseData
object[]