Table of Contents | ||||||
---|---|---|---|---|---|---|
|
...
Endpoints and methods | Description | ||||||
---|---|---|---|---|---|---|---|
/models/{name} see below | Get detailed information about a model. | ||||||
/models/{name} see below | Replace the data of an existing model. | ||||||
/models/{name} see below | Create a new model. | ||||||
/models/{name} see below | Delete a model. | ||||||
/models/{name} see below | Update an existing model. | ||||||
/models/{name} see below | List the available models in the current domain. | ||||||
/images/{name} see below | Get the binary image of a model. |
Endpoints and methods
Anchor | ||||
---|---|---|---|---|
|
/models/{name}
Get detailed information about a model.
...
Expand | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Path parameters Add the following path parameters as part of the endpoint:
Query string parametersQuery string parameters are optionally added after the path parameters, preceded by a question mark (
Example Find below a request example in cURL language:
|
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
/models/{name}
Replace the data of an existing model.
...
Expand | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||
Path parameters Add the following path parameters as part of the endpoint:
Request bodyThe request JSON body must include an object with the following key-value pairs:
Example Find below a request example in cURL language: Code Block | language:
|
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
Anchor | ||||
---|---|---|---|---|
|
/models/{name}
Create a model.
Note | ||
---|---|---|
In order to work with Model Management you need to activate Machine Learning permissions in your role. Go to Administration → Roles → Permissions → Machine Learning and activate the view and manage permissions in Models. Learn more about roles and permissions in Role permissions. | ||
Expand | ||
| ||
Path parameters Add the following path parameters as part of the endpointRole permissions. |
Expand | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
Path parameters Add the following path parameters as part of the endpoint:
Request bodyThe request JSON body must include an object with the following key-value pairs:
Enter the name of the model you want to create. Request bodyThe request JSON body must include an object with the following key-value pairs: | ||||||||||||
Parameter | Type | Description | ||||||||||
|
| The engine used to train and execute the model. |
|
| ||||||||
|
| The description of the model. |
|
| The engine used to train and execute the model. |
|
| |
|
| The description of the model. |
Example
Find below a request example in cURL language:
Code Block |
---|
curl -X 'POST' \
'https://api.stage.devo.com/mlmodelmanager/v3/models/fresh%20model' \
-H 'accept: application/json' \
-H 'standAloneToken: cc81f6f5c73634002183d80b1fb736ec' \
-H 'Content-Type: multipart/form-data' \
-F 'engine=H2O' \
-F 'fileName=@Example_test (1).zip;type=application/zip' \
-F 'description=fresh' |
Expand | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
|
Anchor | ||||
---|---|---|---|---|
|
/models/{name}
Delete a model.
...
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Path parametersAdd the following path parameters as part of the endpoint:
Example Find below a request example in cURL language.
|
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
Anchor | ||||
---|---|---|---|---|
|
/models/{name}
Update an existing model.
...
Expand | |||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||
Path parameters Add the following path parameters as part of the endpoint:
Request body The request JSON body must include an object with the following key-value pairs:
Example Find below a request example in cURL language.
|
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
Anchor | ||||
---|---|---|---|---|
|
/models/{name}
List the available models in the current domain.
...
Expand | ||
---|---|---|
| ||
Path parameters There are no path parameters for this request. Example Find below a request example in cURL language.
|
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
Anchor | ||||
---|---|---|---|---|
|
/images/{name}
Get the binary image of a model.
...
Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Path parameters Add the following path parameters as part of the endpoint:
Example Find below a request example in cURL language.
|
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|