GET
/
datasets
curl --request GET \
  --url https://api.timesdb.in/datasets \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "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>"
      }
    }
  ],
  "total": 123,
  "current_page": "<string>",
  "current_page_backwards": "<string>",
  "previous_page": "<string>",
  "next_page": "<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
items
object[]
required
total
integer

Total items

current_page
string

Cursor to refetch the current page

current_page_backwards
string

Cursor to refetch the current page starting from the last item

previous_page
string

Cursor for the previous page

next_page
string

Cursor for the next page