Big Data Model Inference
Download OpenAPI specification:Download
Paginated Query of Algorithm Runtime Models
Authorizations:
Sign
query Parameters
name | string Example: name=model-1 Query by model name (fuzzy search) |
pageNo | string Example: pageNo=1 Page number |
pageSize | string Example: pageSize=20 Number of items per page |
Responses
Response samples
- 200
- 400
Content type
application/json
{- "list": [
- {
- "id": "uuiduuiduuid",
- "name": "model-1",
- "description": "Linear regression training model",
- "code": "Xsdfsfd24dfsadfsaf",
- "inParams": "[{\"name\":\"a\",\"dataType\":\"Integer\",\"description\":\"a\"},{\"name\":\"y\",\"dataType\":\"String\",\"description\":\"y\"}]",
- "outParams": "[{\"name\":\"pre\",\"dataType\":\"Double\",\"description\":\"a\"}]",
- "createdTime": 15612344562000,
- "updateTime": 15612344562000
}
], - "pagination": {
- "total": 100,
- "pageSize": 20,
- "current": 1
}
}
List of Runtime Model Versions
Authorizations:
Sign
path Parameters
modelCode required | string Example: Xsdfsfd24dfsadfsaf Model code |
Responses
Response samples
- 200
- 400
Content type
application/json
{- "list": [
- {
- "id": "uuiduuiduuid",
- "description": "Upgrade model accuracy to 99%",
- "modelCode": "Xsdfsfd24dfsadfsaf",
- "version": "v1.0",
- "createdTime": 15612344562000
}
]
}
Invoke Runtime Model
Authorizations:
Sign
path Parameters
modelCode required | string Model code |
modelVersion required | string Model version |
Request Body schema: application/json
outerId required | string External ID passed in |
inputData required | Array of numbers[ items ] Model input data, a two-dimensional array representing columnar data |
Responses
Request samples
- Payload
Content type
application/json
{- "outerId": "uuiduuiduuid",
- "inputData": [
- [
- 0
]
]
}
Response samples
- 200
Content type
application/json
{- "outerId": "uuiduuiduuid",
- "data": [
- [
- 0
]
]
}