GET
/
datasets
Authorization
Query
curl --request GET \
  --url https://api.honeyhive.ai/datasets \
  --header 'Authorization: <authorization>'
[
  {
    "bytes": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "file": [
      {}
    ],
    "id": "<string>",
    "name": "<string>",
    "prompt": "<string>",
    "purpose": "<string>",
    "task": "<string>",
    "tenant": "<string>",
    "updated_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
headerrequired

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

Query Parameters

task
string
prompt
string
dataset_id
string
purpose
string

Response

200 - application/json
bytes
integer

The size of the dataset in bytes

created_at
string

The timestamp of when the dataset was created

description
string

The description of the dataset

file
object[]

The file in the dataset

id
string

The id of this dataset

name
string

The name of the dataset file

prompt
string

The prompt related to the dataset

purpose
string

The purpose of the dataset

task
string

The task related to the dataset

tenant
string

The tenant that this dataset belongs to

updated_at
string

The timestamp of when the dataset was last updated