typestrict.aidocs
APIModels

Start a training

POST
/v1/datasets/{id}/models

Starts a training on a structured dataset with a base model. Costs one credit; the credit comes back if the model does not beat Jev or the training fails.

Authorization

api_key
headerAuthorizationBearer <token>

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

Path Parameters

id*string
Formatuuid

Request Body

application/json
  1. body
encoder*string
options?|

seed (u32) and public_data (bool, default true): replicas for confidence intervals, and the with/without-stage-1 comparison.

Response Body

application/json
  1. response
id*string
Formatuuid
version*integer
Formatint32
curl -X POST "https://example.com/v1/datasets/497f6eca-6276-4993-bfeb-53cbbbba6f08/models" \  -H "Content-Type: application/json" \  -d '{    "encoder": "string"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "version": 0}