All Products
Search
Document Center

PolarDB:DescribeAgenticDBTenantApiKeys

Last Updated:Sep 24, 2026

Queries the list of API keys for an AgenticDB tenant.

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 syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID.

cn-hangzhou

DBClusterId

string

Yes

The AgenticDB cluster ID.

pagc-bp1abcdef1234567

TenantName

string

No

Filters results by tenant name.

my-saas-app

PageSize

integer

No

The number of entries per page. Default value: 30. Maximum value: 100.

30

PageNumber

integer

No

The page number. Default value: 1.

1

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

C3D4E5F6-A7B8-9012-CDEF-123456789012

TotalCount

integer

The total number of entries returned.

2

PageNumber

integer

The current page number.

1

PageSize

integer

The number of entries per page.

30

Items

array<object>

The list of API keys.

object

The API key information.

ApiKeyId

string

The resource ID of the API key.

ak-71304e39c7e841a1

ApiKeyMasked

string

The masked API key value.

pagc_key_cGFnYy1icDFhMmIz****

TenantId

string

The ID of the tenant to which the API key belongs.

t-4b83e0da66674951

TenantName

string

The name of the tenant to which the API key belongs.

my-saas-app

Description

string

The description of the API key.

MCP server token

Status

string

The status of the API key.

Active

CreateTime

string

The time when the API key was created.

The time is in ISO 8601 format in UTC (format: YYYY-MM-DDTHH:mm:ssZ).

2026-06-10T10:30:00Z

ExpireTime

string

The time when the API key expires.

The time is in ISO 8601 format in UTC (format: YYYY-MM-DDTHH:mm:ssZ).

2027-01-01T00:00:00Z

Examples

Success response

JSON format

{
  "RequestId": "C3D4E5F6-A7B8-9012-CDEF-123456789012",
  "TotalCount": 2,
  "PageNumber": 1,
  "PageSize": 30,
  "Items": [
    {
      "ApiKeyId": "ak-71304e39c7e841a1",
      "ApiKeyMasked": "pagc_key_cGFnYy1icDFhMmIz****",
      "TenantId": "t-4b83e0da66674951",
      "TenantName": "my-saas-app",
      "Description": "MCP server token",
      "Status": "Active",
      "CreateTime": "2026-06-10T10:30:00Z",
      "ExpireTime": "2027-01-01T00:00:00Z"
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.