APIDatasets
Structure a dataset
POST
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.
api_keyheader
AuthorizationBearer <token>An API key from Settings (ts_...).
id*stringFormat
uuidapplication/json- body
feedback?string|nullquestions?array<string>|The decisions to build (picked from the suggestions or written); absent keeps the current ones.
curl -X POST "https://example.com/v1/datasets/497f6eca-6276-4993-bfeb-53cbbbba6f08/structure" \ -H "Content-Type: application/json" \ -d '{}'Empty