Retrieves a list with all models and algorithms.
GET {{baseUrl}}/models?pageNumber=<integer>&pageSize=<integer>&filter=<string>&sort=desc
Retrieves all models and algorithms uploaded by the users in the same tenant. The response will be an array containing information regarding the models. Also for each of the models the details regarding the last version will be present in the response
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
pageNumber | string | Specifies the requested page index | |
pageSize | string | Specifies the number of elements in a page | |
filter | string | Complex filter that can filter by model name, type, description, author or fields set as optional parameters. All fields are optional. Filters can be set as plain string or as a regular expression. | |
The expected format follows:<br /> | |||
<pre> | |||
?filter={ | |||
"name":"model*", | |||
"type":"type", | |||
"description":"modelDescription", | |||
"optionalParameters":{ |
"entityId":"64",
"entityName": "*"
}
}
</pre>
|
| sort
| string | | Parameter used to sort the models by the lastModified field ascending or descending.<br /> |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"models":[{"id":"951b3240-7857-11e8-adc0-fa7ae01bbebc","name":"NN - Quasi Newton","description":"Newton using variable metrix methods","type":"Zeppelin notebook","author":"user@siemens.com","lastVersion":{"id":"951b3240-7857-11e8-adc0-fa7ae01bbebc","number":3.1,"expirationDate":"1961-03-21","author":"user@siemens.com","creationDate":"1981-03-01","dependencies":[{"name":"sklearn-theano","type":"Python","version":"1.7, 5.2.6"},{"name":"sklearn-theano","type":"Python","version":"1.7, 5.2.6"}],"io":{"consumes":"CSV/XML/Parquet","input":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"output":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"optionalParameters":{}},"producedBy":["951b3240-7857-11e8-adc0-fa7ae01bbebc","951b3240-7857-11e8-adc0-fa7ae01bbebc"],"kpi":[{"name":"error rate","value":"ex ad in"},{"name":"error rate","value":"incididunt ex velit pariatur aliqua"}]}},{"id":"951b3240-7857-11e8-adc0-fa7ae01bbebc","name":"NN - Quasi Newton","description":"Newton using variable metrix methods","type":"Zeppelin notebook","author":"user@siemens.com","lastVersion":{"id":"951b3240-7857-11e8-adc0-fa7ae01bbebc","number":3.1,"expirationDate":"1970-10-14","author":"user@siemens.com","creationDate":"1955-02-19","dependencies":[{"name":"sklearn-theano","type":"Python","version":"1.7, 5.2.6"},{"name":"sklearn-theano","type":"Python","version":"1.7, 5.2.6"}],"io":{"consumes":"CSV/XML/Parquet","input":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"output":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"optionalParameters":{}},"producedBy":["951b3240-7857-11e8-adc0-fa7ae01bbebc","951b3240-7857-11e8-adc0-fa7ae01bbebc"],"kpi":[{"name":"error rate","value":"labore Duis eiusm"},{"name":"error rate","value":"id commodo"}]}}],"page":{"number":1,"size":20,"totalPages":2,"totalElements":40}}