POST
/
datasets
curl --request POST \
  --url https://api.timesdb.in/datasets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'tags=[
  "<string>"
]'
{
  "tags": [
    "<string>"
  ],
  "id": "<string>",
  "stats": {
    "size": "<string>",
    "rows": 123,
    "start_timestamp": "2023-11-07T05:31:56Z",
    "end_timestamp": "2023-11-07T05:31:56Z",
    "freq": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
tags
string[]
required
file
file
required

Response

200
application/json
Successful Response
tags
string[]
required
id
string
required
stats
object
required