Jobs

Start training job

POST
Start a new custom models training job.

Request

This endpoint expects an object.
custom_model
objectRequired
dataset
unionRequired
target_feature
stringOptionalDefaults to label
task
unionOptional
evaluation
objectOptional
alternatives
list of "language_only"Optional
callback_url
stringOptional
notify
booleanOptional

Response

This endpoint returns an object
job_id
string
The ID of the started job.
POST
1curl -X POST https://api.hume.ai/v0/registry/v0/batch/jobs/tl/train \
2 -H "X-Hume-Api-Key: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "custom_model": {
6 "name": "name"
7 },
8 "dataset": {
9 "id": "id"
10 }
11}'
200Successful
1{
2 "job_id": "job_id"
3}