Note
| These APIs are not officially supported and are subject to change in future releases. |
Model
registerDatasetConfig
PUT
/v2/api/model/{model_id}/register-dataset/{dataset_type}
Description
Dataset registration to a model.
Responses
Code | Message | Datatype |
---|---|---|
200 | Successfully registered dataset to the Model. | |
400 | Bad request input data. | |
403 | Unauthorised. The endpoint enforces authorisation. | |
405 | Method not allowed. | |
500 | Internal server error, check server logs. |
getModelById
GET
/v2/api/model
Description
Model Operations.
Parameters
Name | Description | Required | Type | In | Example |
---|---|---|---|---|---|
model_id | string | query |
Responses
Code | Message | Datatype |
---|---|---|
200 | Successfully fetched the Model. | |
400 | Bad request input data. | |
403 | Unauthorised. The endpoint enforces authorisation. | |
404 | Model not found. | |
405 | Method not allowed. | |
500 | Internal server error, check server logs. |
deleteModelById
DELETE
/v2/api/model
Description
Model Operations.
Parameters
Name | Description | Required | Type | In | Example |
---|---|---|---|---|---|
model_id | string | query |
Responses
Code | Message | Datatype |
---|---|---|
200 | Successfully deleted the Model. | |
400 | Bad request input data. | |
403 | Unauthorised. The endpoint enforces authorisation. | |
404 | Model not found. | |
405 | Method not allowed. | |
500 | Internal server error, check server logs. |
listModels
GET
/v2/api/models
Description
Parameters
Name | Description | Required | Type | In | Example |
---|---|---|---|---|---|
pageNumber | integer | query | |||
pageSize | integer | query | |||
numberOfLastChecksToFetch | integer | query | |||
searchQuery | string | query | |||
modelType | string | query |
Responses
Code | Message | Datatype |
---|---|---|
200 | Successfully fetched the Model. | |
400 | Bad request input data. | |
403 | Unauthorised. The endpoint enforces authorisation. | |
405 | Method not allowed. | |
500 | Internal server error, check server logs. |