GET
/
datasets
List datasets
curl --request GET \
  --url https://api.getbasalt.ai/datasets \
  --header 'Authorization: Bearer <token>'
{
  "datasets": [
    {
      "slug": "my-dataset",
      "name": "My Dataset",
      "columns": [
        "input",
        "output"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json

List of datasets in the workspace

The response is of type object.