Starts to train 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

POST /v4/openapi/app-groups/[appGroupIdentity]/algorithm/models/[modelName]/actions/train 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 3AA29D02-54F3-8569-F71A-90E1B7BE4E7E

The ID of the request.

result Map {}

N/A

Examples

Sample requests

POST /v4/openapi/app-groups/my_app/algorithm/models/DemoModelName/actions/train

Sample success responses

XML format

<requestId>3AA29D02-54F3-8569-F71A-90E1B7BE4E7E</requestId>
<result/>

JSON format

{
    "requestId": "3AA29D02-54F3-8569-F71A-90E1B7BE4E7E",
    "result": ""
}

Error codes

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