Serve REST API
caution
The Serve API is in the alpha stage which is subjected to incompatible changes in future releases.
Create a model serveβ
POST /api/v1/serve
Parametersβ
Field Name | Type | Description | Required |
---|---|---|---|
modelName | String | Registered model name. | o |
modelVersion | String | Registered model version. | o |
Exampleβ
note
Make sure there is a model named simple
with version 1
in the database.
Example Request
Example Response
Delete the TensorFlow model serveβ
DELETE /api/v1/serve
Parametersβ
Field Name | Type | Description | Required |
---|---|---|---|
modelName | String | Registered model name. | o |
modelVersion | String | Registered model version. | o |