|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The AI API configuration. |
||
| environmentId |
string |
The environment ID. |
env-xxx |
| backendScene |
string |
The publishing scenario. |
SingleService |
| autoDeploy |
boolean |
Indicates whether auto-deploy is enabled. |
true |
| gatewayId |
string |
The gateway instance ID. |
gw-xx |
| routeBackend | Backend |
The backend service information. |
|
| gatewayInfo | GatewayInfo |
The gateway information. |
|
| mock | HttpApiMockContract |
The mock configuration. |
|
| gatewayType |
string |
The gateway type. |
API |
| customDomainIds |
array |
The list of custom domain name IDs. |
|
|
string |
The domain name ID. |
d-xxx |
|
| envDomainIds |
array |
The list of environment domain name IDs. If this parameter is not specified, all environment domain names are bound. An empty array indicates that no environment domain names are bound. |
|
|
string |
The environment domain name ID. |
d-xxx |
|
| serviceConfigs |
array |
The list of service configurations. |
|
|
object |
The existing service configuration. |
||
| serviceId |
string |
The service ID. |
svc-xxx |
| weight |
integer |
The service weight. |
100 |
| modelNamePattern |
string |
The model name matching rule. |
qwen-* |
| modelName |
string |
The model name. |
qwen-max |
| intentCode |
string |
The intent code. |
INQUIRY |
| match | HttpApiBackendMatchConditions |
The matching condition. |
|
| port |
integer |
The service port number. |
80 |
| protocol |
string |
The service protocol (HTTP/HTTPS). |
HTTP |
| gatewayServiceId |
string |
The gateway service ID. |
gw-svc-abc123 |
| name |
string |
The service display name. |
Qwen-Max-Service |
| version |
string |
The service version label. |
V2 |
| multiServiceRouteStrategy |
string |
The multi-service routing strategy type. |
ByWeight |
| observabilityRouteConfig |
object |
The observability-based routing configuration. |
|
| mode |
string |
The routing mode. |
LeastBusy |
| rateLimit |
number |
The maximum traffic ratio for a single service. |
0.8 |
| queueSize |
integer |
The queue size. |
100 |
| policyConfigs |
array |
The list of policy configurations. |
|
|
object |
The list of policy configurations. |
||
| customDomainInfos |
array |
The list of custom domain name information. |
|
|
object |
The list of custom domain name information. |
||
| domainId |
string |
The domain name ID. |
d-cshee6dlhtgk****** |
| name |
string |
The domain name. |
hello-server.com |
| protocol |
string |
The protocol. |
HTTP |
| envDomainInfos |
array |
The list of environment domain name information. |
|
|
object |
The environment domain name information. |
||
| domainId |
string |
The domain name ID. |
d-env-xxx |
| name |
string |
The domain name. |
api.example.com |
| protocol |
string |
The protocol. |
HTTPS |
| subDomains |
array |
The list of subdomain information. |
|
|
object |
The network type. |
||
| domainId |
string |
The domain name ID. |
d-csmn42um****** |
| name |
string |
The domain name. |
test |
| protocol |
string |
The protocol. |
HTTP |
| networkType |
string |
The network type. |
Intranet |
| builtinRouteNames |
array |
The list of built-in route names. |
|
|
string |
The list. |
["chat","completions"] |