Queries the details of a model.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation uses only the common request headers. For more information, see Common request parameters.

Request syntax

GET /v4/openapi/app-groups/[appGroupIdentity]/algorithm/models/[modelName] HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
appGroupIdentity String Path Yes group_name

The name of the application.

modelName String Path Yes model_name

The name of the model.

Response parameters

Parameter Type Example Description
requestId String 429848D7-C3E1-8FFB-9FF6-01932E6067ED

The ID of the request.

result Map {}

The details of the model.

Examples

Sample requests

GET /v4/openapi/app-groups/my_app/algorithm/models/hotModel

Sample success responses

XML format

<requestId>429848D7-C3E1-8FFB-9FF6-01932E6067ED</requestId>
<totalCount>1</totalCount>
<result>
    <id>804</id>
    <groupId>100304898</groupId>
    <groupName>lsh_test_03</groupName>
    <type>hot</type>
    <name>hotModel</name>
    <trainTarget>click</trainTarget>
    <behaviorEnabled>true</behaviorEnabled>
    <cron>35 3 * * 1,3,5,7</cron>
    <cronEnabled>true</cronEnabled>
    <availableThreshold>0.8</availableThreshold>
    <lastTrainingTime>1597910944000</lastTrainingTime>
    <status>train_init</status>
    <alreadyDeployed>false</alreadyDeployed>
</result>

JSON format

{
    "requestId": "429848D7-C3E1-8FFB-9FF6-01932E6067ED",
    "totalCount": 1,
    "result": {
        "id": 804,
        "groupId": 100304898,
        "groupName": "lsh_test_03",
        "type": "hot",
        "name": "hotModel",
        "trainTarget": "click",
        "behaviorEnabled": true,
        "cron": "35 3 * * 1,3,5,7",
        "cronEnabled": true,
        "availableThreshold": 0.8,
        "lastTrainingTime": 1597910944000,
        "status": "train_init",
        "alreadyDeployed": false
    }
}

Error codes

For a list of error codes, visit the API Error Center.