GET
/
datasets
curl --request GET \
  --url https://api.getflex.ai/v1/datasets \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "train_rows_count": 123,
    "eval_rows_count": 123,
    "max_tokens": 123,
    "total_tokens": 123,
    "train_path": "<string>",
    "eval_path": "<string>",
    "type": "<string>",
    "user_id": "<string>"
  }
]

Authorizations

Authorization
string
header
required

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

Response

200
application/json

Successful response

The response is of type object[].