typestrict.aidocs
APIDatasets

Structure a dataset

POST
/v1/datasets/{id}/structure

Starts the structuring agent (or runs it again with feedback, which adds up): it turns the data into training examples. Without a credit the agent runs up to 10 times a day per account (no_credits after that), and the committee pre-labels a sample of up to 500 examples; the rest is pre-labeled when the training starts.

Authorization

api_key
headerAuthorizationBearer <token>

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

Path Parameters

id*string
Formatuuid

Request Body

application/json
  1. body
feedback?string|null
questions?array<string>|

The decisions to build (picked from the suggestions or written); absent keeps the current ones.

Response Body

curl -X POST "https://example.com/v1/datasets/497f6eca-6276-4993-bfeb-53cbbbba6f08/structure" \  -H "Content-Type: application/json" \  -d '{}'
Empty