tencent cloud

Tencent Cloud EdgeOne

DescribePrefetchOriginLimit

ダウンロード
フォーカスモード
フォントサイズ
最終更新日: 2026-11-25 17:00:04

1. API Description

Domain name for API request: teo.intl.tencentcloudapi.com.

This API is used to query origin-pull rate limits. This feature is in beta test for allowlisted users.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

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: DescribePrefetchOriginLimit.
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.
Offset No Integer Offset of paginated query. Default value: 0.
Limit No Integer Number limit of paginated query. Default value: 20. Maximum value: 100.
Filters.N No Array of Filter Filter criteria. The maximum number of Filters.Values is 20. The detailed filter criteria are as follows:
  • domain-name: Filter by domain name. The domain-name format is like www.qq.com. Fuzzy queries are not supported.
  • area: Filter by restricted acceleration region. Fuzzy queries are not supported. Options:
     Overseas: Global availability zone (excluding Chinese mainland);
     MainlandChina: Chinese mainland availability zone.
  • 3. Output Parameters

    Parameter Name Type Description
    TotalCount Integer Total number of origin-pull rate limits.
    Limits Array of PrefetchOriginLimit List of origin-pull rate limits.
    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.

    4. Example

    Example1 Query preheating rate limits

    Query the preheat origin-pull speed limit for the acceleration domain name cn2.test-***a.online.

    Input Example

    POST / HTTP/1.1
    Host: teo.intl.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: DescribePrefetchOriginLimit
    <Common request parameters>
    
    {
        "ZoneId": "zone-3***j8tqd",
        "Offset": 0,
        "Limit": 10,
        "Filters": [
            {
                "Name": "domain-name",
                "Values": [
                    "cn2.test-***a.online"
                ]
            }
        ]
    }

    Output Example

    {
        "Response": {
            "Limits": [
                {
                    "Area": "Overseas",
                    "Bandwidth": 100,
                    "CreateTime": "2025-12-16T07:08:40Z",
                    "DomainName": "cn2.test-***a.online",
                    "UpdateTime": "2025-12-16T07:08:40Z",
                    "ZoneId": "zone-3***j8tqd"
                }
            ],
            "TotalCount": 1,
            "RequestId": "7db71bfe-e735-4d1a-8f2d-90c085b7418d"
        }
    }

    5. Developer Resources

    SDK

    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

    The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

    Error Code Description
    FailedOperation Operation failed.
    InternalError.BackendError Error in background processing.
    InvalidParameter Parameter error.
    InvalidParameter.DomainNotFound The domain name does not exist or does not belong to this account.
    InvalidParameter.PrefetchOriginLimitAreaInvalid The preheated origin-pull rate limiting region parameter is invalid. Adjust the region and resubmit.
    OperationDenied.NotInPrefetchOriginLimitWhiteList Not in the preheated origin-pull rate limiting configuration allowlist. Submit a ticket.
    UnauthorizedOperation.CamUnauthorized Unauthorized Cam operation.
    UnauthorizedOperation.NoPermission The sub-account does not have operation permissions. Add the required permissions and try again.
    UnauthorizedOperation.Unknown Unknown error occurs on the real server.

    ヘルプとサポート

    この記事はお役に立ちましたか?

    フィードバック