typestrict.aidocs
APIDatasets

List datasets

GET
/v1/datasets

The datasets, newest first. status=ready for the structured ones; usable=true leaves out expired data.

Authorization

api_key
headerAuthorizationBearer <token>

An API key from Settings (ts_...).

Path Parameters

limit*|
Formatint64
cursor*string|null
status*string|null
usable*|

usable=true: only datasets whose data has not expired (what a new training can start from).

Response Body

application/json
  1. response

One page of a list, newest first: next is the cursor of the following page, null on the last.

data*array<>
next?string|null
curl -X GET "https://example.com/v1/datasets"
{  "data": [    {      "anonymize": true,      "created_at": "2019-08-24T14:15:22Z",      "data_deleted_at": "2019-08-24T14:15:22Z",      "data_expire_at": "2019-08-24T14:15:22Z",      "error": "string",      "goal": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "questions": {},      "row_count": 0,      "status": "string",      "target_column": "string",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "next": "string"}