All Products
Search
Document Center

PolarDB:DescribeAgenticDBBranchEndpoints

Last Updated:Sep 24, 2026

Queries the branch connection information of an AgenticDB cluster.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

polardb:DescribeAgenticDBBranchEndpoints

get

*DBCluster

acs:polardb:{#regionId}:{#accountId}:dbcluster/{#DBClusterId}

None None

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 ID of the AgenticDB cluster.

pagc-bp1abcdef1234567

TenantId

string

Yes

The ID of the tenant to which the branch belongs.

t-4b83e0da66674951

ProjectId

string

Yes

The ID of the project to which the branch belongs.

proj-a1b2c3d4e5f6

BranchId

string

Yes

The branch ID.

br-7g8h9i0j1k2l

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

E5F6A7B8-C9D0-1234-EFAB-567890123EFA

Items

array<object>

The list of endpoints.

array<object>

The endpoint information.

EndpointId

string

The endpoint ID.

ep-3m4n5o6p7q8r

EndpointType

string

The endpoint type.

ReadWrite

Address

string

The compatible connection address. A public endpoint is returned first. If no public endpoint is available, a private endpoint is returned.

10.0.1.100

Port

integer

The compatible connection port that corresponds to the Address parameter.

5432

Database

string

The database name.

neondb

Account

string

The account name.

cloud_admin

Password

string

The password.

******

ConnectionString

string

The compatible connection string. A public connection string is returned first. If no public connection string is available, a private connection string is returned.

postgresql://cloud_admin:******@10.0.1.100:5432/neondb

AddressItems

array<object>

The list of public and private network endpoints.

object

The network connectivity endpoint.

NetType

string

The network type. Valid values:

  • Private: private network.

  • Public: public network.

Private

Address

string

The endpoint.

pe-cedar-cygfzprh775g.polaragentic.pre.rds.aliyuncs.com

Port

integer

The port.

5460

ConnectionString

string

The full PostgreSQL connection string.

postgresql://cloud_admin:******@pe-cedar-cygfzprh775g.polaragentic.pre.rds.aliyuncs.com:5460/neondb

Examples

Success response

JSON format

{
  "RequestId": "E5F6A7B8-C9D0-1234-EFAB-567890123EFA",
  "Items": [
    {
      "EndpointId": "ep-3m4n5o6p7q8r",
      "EndpointType": "ReadWrite",
      "Address": "10.0.1.100",
      "Port": 5432,
      "Database": "neondb",
      "Account": "cloud_admin",
      "Password": "******",
      "ConnectionString": "postgresql://cloud_admin:******@10.0.1.100:5432/neondb",
      "AddressItems": [
        {
          "NetType": "Private",
          "Address": "pe-cedar-cygfzprh775g.polaragentic.pre.rds.aliyuncs.com",
          "Port": 5460,
          "ConnectionString": "postgresql://cloud_admin:******@pe-cedar-cygfzprh775g.polaragentic.pre.rds.aliyuncs.com:5460/neondb"
        }
      ]
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.