Skip to main content
POST
/
datasets
/
upload
Upload Dataset
curl --request POST \
  --url https://api.example.com/datasets/upload/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "filetype": "Csv",
  "annotations": {}
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Headers

Api-key
string | null

Body

application/json
id
string
required
name
string
required
description
string | null
filetype
enum<string>
default:Csv
Available options:
Csv,
Parquet,
Excel
annotations
Annotations · object

Response

Successful Response