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
Labels created successfully
Was this page helpful?