GET
/
v1
/
datasets
curl --request GET \
  --url https://api.lunary.ai/v1/datasets \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "slug": "<string>",
    "format": "text",
    "ownerId": "<string>",
    "projectId": "<string>"
  }
]

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
id
string
slug
string
format
enum<string>
Available options:
text,
chat
ownerId
string
projectId
string