Domain name for API request: teo.intl.tencentcloudapi.com.
This API is used to query the inference service list, support filtering by service name, service ID, and status, and return the service configuration, running state, number of instances, and inference access address.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeInferenceServices. |
| Version | Yes | String | Common Params. The value used for this API: 2022-09-01. |
| Region | No | String | Common Params. This parameter is not required. |
| ZoneId | Yes | String | Site ID. |
| Filters.N | No | Array of AdvancedFilter | Filter criteria. Up to 20 criteria are supported, and multiple criteria are in AND relationship. The maximum number of Filters.Values is 20. The detailed filter criteria are as follows: |
| Offset | No | Integer | The offset of paginated query. Default value: 0. |
| Limit | No | Integer | Paginated query limit. Default value: 20, maximum value: 200. |
| Order | No | String | Returned results can be sorted by this field. Valid values: |
| Direction | No | String | Sorting order. If the field value is a number, sort by numeric size; if the field value is text, sort by ASCII code size. Valid values: |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCount | Integer | Total services that meet the criteria. |
| Services | Array of InferenceService | Inference service list. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Filter and query inference services by condition.
POST / HTTP/1.1
Host: teo.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeInferenceServices
<Common request parameters>
{
"ZoneId": "zone-2***8ev000",
"Filters": [
{
"Name": "service-name",
"Values": [
"image-classification"
],
"Fuzzy": true
}
],
"Offset": 0,
"Limit": 20,
"Order": "create-time",
"Direction": "desc"
}
{
"Response": {
"Services": [
{
"Containers": [
{
"EnvironmentVariables": [
{
"Key": "MODEL_PATH",
"Value": "/models/v1"
}
],
"ImageType": "TCR",
"StartupCommand": "python app.py",
"TcrRepositoryConfig": {
"Image": "ccr.ccs.tencentyun.com/namespace/image:v1.0.0",
"RegionName": "ap-guangzhou",
"RegistryId": "tcr-ab***ef456",
"TCRType": "Enterprise"
}
}
],
"CreateTime": "2025-12-09T10:00:00Z",
"Description": "Image inference based on ResNet50 model",
"InferenceURL": "https://model-zone-***0300.edgeone-ai.com",
"ListenPort": 8080,
"Name": "image-classification-service",
"ResourceConfig": {
"AutoScalingConfig": {
"MinInstanceCount": 1
},
"Concurrency": 10,
"HardwareSpec": "GPU-T4-8C16G",
"ManualInstanceConfig": null,
"ScalingMode": "Auto"
},
"ServiceId": "inf-9f8***4a3210",
"Status": "Running",
"UpdateTime": "2025-12-09T10:30:00Z"
}
],
"TotalCount": 1,
"RequestId": "36b93c01-c30f-4865-86f7-710067654fea"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InternalError | Internal error. |
| InvalidParameterValue.ZoneNotFound | No corresponding site. Please ensure the site information is filled correctly. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários