All Products
Search
Document Center

App Streaming:BatchCreateLlmTemplates

Last Updated:Jun 17, 2026

Creates LLM templates in batches.

Operation description

You can create model templates in batches under a model provider template in the Wuying Agent Management Center. You can add multiple models at a time and specify one of them as the default model. Existing models are automatically skipped and are not created again.

Before you call this operation, make sure that you are familiar with the operations and usage of the Wuying Agent Management Center.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

ModelTemplateId

string

No

The ID of the associated model group.

mt-xxxx

ProviderTemplateId

string

Yes

The ID of the model provider template to which the models belong.

mpt-xxxx

LlmTemplateItems

array<object>

No

The list of model configurations to create.

object

No

The model configuration object to create.

LlmCode

string

No

The model code, which must be unique within the same provider.

qwen3.6-plus

Name

string

No

The model name.

Qwen3.6-Plus

Description

string

No

The model description.

千问Plus系列模型

Config

string

No

The model configuration JSON object.

{ "id": "qwen3.6-plus", "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 }, "name": "Qwen3.6-Plus", "input": ["image", "text"], "compat": { "supportsUsageInStreaming": true }, "maxTokens": 65536, "reasoning": false, "contextWindow": 1000000 }

IsDefaultModel

boolean

No

Specifies whether to set this model as the default model. Each model group can have at most one default model.

Valid values:

  • true :

  • false :

false

Response elements

Element

Type

Description

Example

object

The response.

RequestId

string

The request ID.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****

Data

object

The returned data object.

LlmTemplateIds

array

The list of IDs of the model templates that are created.

string

The model template ID.

llmt-xxxx

SuccessCount

integer

The number of model templates that are created.

5

TotalCount

integer

The total number of requests.

6

SkippedItems

array<object>

The list of skipped model configuration items.

object

The skipped model configuration item.

LlmCode

string

Skipped model encoding.

qwen3.5-plus

Reason

string

Reason for skipping.

LLM template already exists with same providerTemplateId and llmCode.

Examples

Success response

JSON format

{
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
  "Data": {
    "LlmTemplateIds": [
      "llmt-xxxx"
    ],
    "SuccessCount": 5,
    "TotalCount": 6,
    "SkippedItems": [
      {
        "LlmCode": "qwen3.5-plus",
        "Reason": "LLM template already exists with same providerTemplateId and llmCode."
      }
    ]
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.