All Products
Search
Document Center

Edge Security Acceleration:ListRoutineEnvironmentVariables

Last Updated:Aug 18, 2026

Queries the environment variables of a Routine.

Operation description

This operation allows you to perform a paged query of all Edge Routines (Routines) created under your account, and provides the Routine quota and usage for your current plan. You can specify the paging parameters PageNumber and PageSize to control the number of returned results, and use SearchKeyWord to perform a fuzzy search to filter specific Routine names.

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

Name

string

Yes

The function name.

my_routine

Env

string

Yes

The environment name.

Valid values:

  • production: production environment

  • staging: staging environment

Valid values:

  • production :

    production

  • staging :

    staging

production

PageNumber

integer

No

The page number. Default value: 1.

1

PageSize

integer

No

The number of entries per page. Default value: 20.

10

KeyWord

string

No

The keyword used to perform a case-insensitive fuzzy search on environment variable keys.

LOG

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

EEEBE525-F576-1196-8DAF-2D70CA3F4D2F

Count

integer

The number of environment variables.

10

PageNumber

integer

The page number.

1

PageSize

integer

The page size.

10

TotalCount

integer

The total number of environment variables.

16

EnvironmentVariables

object

The environment variable dictionary.

object

The environment variable object.

Type

string

The environment variable type.

Valid values:

  • plain_text: plain text

  • secret_text: encrypted text

Valid values:

  • plain_text :

    plain_text

  • secret_text :

    secret_text

plain_text

Value

string

The environment variable value.

value

Examples

Success response

JSON format

{
  "RequestId": "EEEBE525-F576-1196-8DAF-2D70CA3F4D2F",
  "Count": 10,
  "PageNumber": 1,
  "PageSize": 10,
  "TotalCount": 16,
  "EnvironmentVariables": {
    "key": {
      "Type": "plain_text",
      "Value": "value"
    }
  }
}

Error codes

HTTP status code

Error code

Error message

Description

400 InternalException Failed to call the service. Try again later or contact technical support. Failed to call the service. Try again later or contact technical support.
400 InvalidParameter The specified parameter is invalid. The specified parameter is invalid.
400 InternalOperationError Failed to call the service. Try again later or contact technical support. Failed to call the service. Try again later or contact technical support.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.