All Products
Search
Document Center

App Streaming:GetModelProviderTemplate

Last Updated:Jun 17, 2026

Queries the details of a model provider template.

Operation description

You can query the details of a specified model provider template in the WUYING Agent Management Center, including the provider name, description, and connection configuration list.

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

ProviderTemplateId

string

Yes

The ID of the model provider template.

mpt-xxxx

Response elements

Element

Type

Description

Example

object

The response.

Data

object

The returned data object.

ProviderTemplateId

string

The ID of the model provider template.

mpt-xxxx

ProviderName

string

The name of the model provider.

bailian

Name

string

The name of the model provider template.

阿里云百炼。

Description

string

The description of the model provider template.

阿里云百炼服务商。

Config

string

The JSON configuration object of the model provider template.

{ "api": "openai-completions", "apiKey": "sk-xxxx", "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1" }

EnableWuyingProxy

boolean

Indicates whether the WUYING secure gateway proxy is enabled.

Valid values:

  • true :

    yes.

  • false :

    no.

true

RequestId

string

The request ID.

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

Examples

Success response

JSON format

{
  "Data": {
    "ProviderTemplateId": "mpt-xxxx",
    "ProviderName": "bailian",
    "Name": "阿里云百炼。",
    "Description": "阿里云百炼服务商。",
    "Config": "{\n\t\"api\": \"openai-completions\",\n\t\"apiKey\": \"sk-xxxx\",\n\t\"baseUrl\": \"https://dashscope.aliyuncs.com/compatible-mode/v1\"\n}",
    "EnableWuyingProxy": true
  },
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.