typestrict.aidocs
APITrainings

List trainings

GET
/v1/trainings

Every training, newest first: a model is a training that ran (steps 4 and 5); a dataset with no model yet is one being prepared (steps 1 to 3). Each row has step and next_action.

Authorization

api_key
headerAuthorizationBearer <token>

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

Path Parameters

limit*|
Formatint64
cursor*string|null

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/trainings"
{  "data": [    {      "created_at": "2019-08-24T14:15:22Z",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "kind": "string",      "name": "string",      "status": "string",      "verdict": "string",      "version": 0,      "next_action": "string",      "step": 0    }  ],  "next": "string"}