cURL
curl --request POST \ --url http://studio.premai.io/api/v1/public/datasets/{datasetId}/create-labels \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "label_definitions": [ { "name": "<string>", "description": "<string>" } ] } '
{ "message": "<string>" }
Create labels linked to the given dataset.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Array of label definitions to use for auto-labeling
1 - 10
Show child attributes
Label name (single word, max 20 characters)
1 - 20
Label description (max 200 characters)
1 - 200
Labels created successfully
Was this page helpful?