Model
Last updated
Last updated
POST
URL:{{base_url}}/api/{{version}}/model/:id/predict
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
URL:{{base_url}}/api/{{version}}/model/result/:id
GET
URL:{{base_url}}/api/{{version}}/model/view
GET
URL:{{base_url}}/api/{{version}}/model/:id/view
GET
URL:{{base_url}}/api/{{version}}/model/:id/:version/info
DELETE
URL:{{base_url}}/api/{{version}}/model/:id/delete
You cannot delete PRETRIAINED models using Delete API
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
id*
String
Model id of a particular ml model.
Authorization*
API key
Content-Type*
application/json
file
multipart/form-data
File with extensions png , jpeg and pdf. This field is used to send file for getting prediction from ml models.
version*
multipart/form-data
Used to specify the version of ml model, using which we need to get the prediction.
To get prediction using latest version of the model without specifying the correct version , give version value as 0.0. Then the api will use latest available version of the model to get prediction.
splitDocument*
multipart/form-data
It can be "true" or "false". But currently "true" value is only available for some ml models. If the chosen model could not support "true", api will send bad request response. "true" value can give more accurate result if the give pdf file contains more than one page. Please use "true" value in the case of invoice model to increase accuracy.
text
multipart/form-data
Used to get prediction from NER type ml models.
id *
String
Result id of a particular prediction.
Authorization*
API key
Content-Type*
application/json
Authorization*
API key
Content-Type*
application/json
id*
String
Model id of a particular ml model.
Authorization*
API key
Content-Type*
application/json
id*
String
Model id of a particular ml model.
version*
Float
Version of a particular ml model.
Authorization*
API key
Content-Type*
application/json
id *
String
Model id of a particular ml model.
Authorization*
API key
Content-Type*
application/json