查询 AgenticDB 分支列表
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
polardb:DescribeAgenticDBBranches |
get |
*DBCluster
|
无 | 无 |
请求语法
POST HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
地域 ID |
cn-hangzhou |
| DBClusterId |
string |
是 |
AgenticDB 集群 ID |
pagc-bp1abcdef1234567 |
| TenantId |
string |
否 |
归属 Tenant ID |
t-4b83e0da66674951 |
| ProjectId |
string |
否 |
归属 Project ID |
proj-a1b2c3d4e5f6 |
| BranchName |
string |
否 |
Branch 名称模糊匹配 |
feature |
| Status |
string |
否 |
状态过滤:Running/Pending/Paused |
Active |
| PageSize |
integer |
否 |
每页记录数,默认 30,最大 100 |
30 |
| PageNumber |
integer |
否 |
页码,默认 1 |
1 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| Items |
array<object> |
分支列表 |
|
|
object |
分支信息 |
||
| BranchComputeClusterId |
string |
分支计算集群 ID |
pc-g0lsayq8c5qe |
| BranchComputeNodeCount |
integer |
计算节点数(一期固定 1) |
1 |
| BranchId |
string |
分支 ID |
br-7g8h9i0j1k2l |
| BranchName |
string |
分支名称 |
feature-analytics |
| CreateTime |
string |
创建时间 时间采用 ISO 8601 格式,时区为 UTC(格式:YYYY-MM-DDTHH:mm:ssZ)。 |
2026-06-10T11:00:00Z |
| Description |
string |
描述 |
Feature branch for analytics |
| IsDefaultBranch |
boolean |
是否为默认分支 |
false |
| LastActivatedAt |
string |
最近激活时间 |
2026-06-10T12:30:00Z |
| MaxCU |
string |
最大计算单元 |
2 |
| MinCU |
string |
最小计算单元 |
0.25 |
| ParentBranchId |
string |
父分支 ID |
br-1a2b3c4d5e6f |
| ParentBranchName |
string |
父分支名称 |
main |
| ParentTimestamp |
string |
创建分支时指定的父分支历史时间,采用 UTC RFC3339 格式。未指定历史时间或旧记录可能为空。 |
2026-10-15T07:32:00.123456Z |
| ProjectId |
string |
归属 Project ID |
proj-a1b2c3d4e5f6 |
| ProjectName |
string |
归属 Project 名称 |
analytics-prod |
| Status |
string |
状态:Running/Pending/Paused |
Active |
| TenantId |
string |
归属 Tenant ID |
t-4b83e0da66674951 |
| PageNumber |
integer |
当前页码 |
1 |
| PageSize |
integer |
每页记录数 |
30 |
| RequestId |
string |
请求 ID |
B2C3D4E5-F6A7-8901-BCDE-2345678901BC |
| TotalCount |
integer |
总数 |
5 |
示例
正常返回示例
JSON格式
{
"Items": [
{
"BranchComputeClusterId": "pc-g0lsayq8c5qe",
"BranchComputeNodeCount": 1,
"BranchId": "br-7g8h9i0j1k2l",
"BranchName": "feature-analytics",
"CreateTime": "2026-06-10T11:00:00Z",
"Description": "Feature branch for analytics",
"IsDefaultBranch": false,
"LastActivatedAt": "2026-06-10T12:30:00Z",
"MaxCU": "2",
"MinCU": "0.25",
"ParentBranchId": "br-1a2b3c4d5e6f",
"ParentBranchName": "main",
"ParentTimestamp": "2026-10-15T07:32:00.123456Z",
"ProjectId": "proj-a1b2c3d4e5f6",
"ProjectName": "analytics-prod",
"Status": "Active",
"TenantId": "t-4b83e0da66674951"
}
],
"PageNumber": 1,
"PageSize": 30,
"RequestId": "B2C3D4E5-F6A7-8901-BCDE-2345678901BC",
"TotalCount": 5
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。