v1
latestOpenAPI 3.0.02026-08-061473373.5 KBManage classifications models
Create classifications model
Creates a custom classifications model by uploading training data and associated metadata. The model begins the training and deploying process and is ready to use when the status is available.
post/v1/models/classifications
Response
Model created successfully
Example response
{
"user_metadata": {
"region": "North America",
"latest": true
},
"notices": [
{
"message": "Training data validation failed: Too few examples for label insufficient_examples. Minimum of 5 required"
},
{
"message": "Not enough examples for class 'foo'. 4 were given but 5 are required."
},
{
"message": "Duplicate label given in example 27: {'foo', 'bar', 'foo'}"
}
]
}