Models

Update model name

PATCH
Returns 200 if successful

Path parameters

idstringRequired
Hume-generated ID of a Model

Query parameters

namestringRequired
New Model name

Response

This endpoint returns an object
id
string
Hume-generated Model ID
name
string
Model name
created_on
integer
Created date and time
modified_on
integer
Updated date and time
total_stars
integer
Total stars on this model
model_is_starred_by_user
boolean
Model is starred by this user
archived
boolean
Model is archived.
is_publicly_shared
boolean
Model is shared publicly
latest_version
objectOptional
Latest Model version number
PATCH
1curl -X PATCH "https://api.hume.ai/v0/registry/models/id?name=name" \
2 -H "X-Hume-Api-Key: <apiKey>"
200Updated
1{
2 "id": "id",
3 "name": "name",
4 "created_on": 1,
5 "modified_on": 1,
6 "total_stars": 1,
7 "model_is_starred_by_user": true,
8 "archived": true,
9 "is_publicly_shared": true,
10 "latest_version": {
11 "id": "id",
12 "model_id": "model_id",
13 "user_id": "user_id",
14 "version": "version",
15 "source_uri": "source_uri",
16 "dataset_version_id": "dataset_version_id",
17 "created_on": 1,
18 "metadata": {
19 "metadata": {}
20 },
21 "description": "description",
22 "tags": [
23 {
24 "key": "key",
25 "value": "value"
26 }
27 ],
28 "file_type": "video",
29 "target_feature": "target_feature",
30 "task_type": "task_type",
31 "training_job_id": "training_job_id"
32 }
33}