All Products
Search
Document Center

Edge Security Acceleration:DescribeBotPrice

Last Updated:Jun 25, 2026

Queries the price of a bot instance.

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

BotInstanceLevel

string

Yes

The bot instance type.

Valid values:

  • enterprise_bot :

    Web edition.

  • enterprise_bot_with_app :

    Web/App edition.

enterprise_bot

Response elements

Element

Type

Description

Example

object

The response structure.

RequestId

string

The request ID.

FCF50EDF-1C2B-51E9-A372-E194D16ED350

PriceModel

object

The price information.

Price

number

The final transaction price of the order.

100

Currency

string

The currency. Valid values:

  • JPY: Japanese Yen.

  • USD: US Dollar.

  • CNY: Chinese Yuan.

CNY

TotalPrice

number

The original price of the order, equal to the transaction price plus the discount amount.

150

DiscountPrice

number

The discount amount of the order.

50

Rule

object

RuleList

array<object>

The matched pricing rules.

object

Name

string

The policy name.

Policy A

RuleDescId

integer

The policy ID.

1

Examples

Success response

JSON format

{
  "RequestId": "FCF50EDF-1C2B-51E9-A372-E194D16ED350",
  "PriceModel": {
    "Price": 100,
    "Currency": "CNY",
    "TotalPrice": 150,
    "DiscountPrice": 50,
    "Rule": {
      "RuleList": [
        {
          "Name": "Policy A",
          "RuleDescId": 1
        }
      ]
    }
  }
}

Error codes

HTTP status code

Error code

Error message

Description

400 InternalError An internal exception occurred, please try again later. An inner exception was triggered. Please try again later.
400 CheckPlanFailed Invalid plan name or code. Check and try again. Invalid plan name or code. Check and try again.
400 InvalidSiteICP The specified website does not have an ICP filing or the filing information is invalid. Make sure your website is filed and try again. The specified website does not have an ICP filing or the filing information is invalid. Make sure your website is filed and try again.
400 InvalidSiteName Invalid website name. Check and try again. Invalid website name. Check and try again.
400 SYSTEM.NoSpecificCodeFailed Invalid subscription duration. Check and try again. Invalid subscription duration. Check and try again.
400 InvalidComponent The order parameters is invalid. The order parameters is invalid.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.