Creates an AgenticDB project.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:CreateAgenticDBProject |
create |
*DBCluster
|
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. |
t-4b83e0da66674951 |
| ProjectName |
string |
Yes |
The name of the project. The name must be unique within the tenant. |
analytics-prod |
| DefaultBranchName |
string |
No |
The name of the default branch. Default value: main. |
main |
| Description |
string |
No |
The description of the project. |
Production analytics database |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| BranchComputeClusterId |
string |
The ID of the compute instance bound to the default branch. |
pc-g0lsayq8c5qe |
| CreateTime |
string |
The time when the project was created. The time is displayed in ISO 8601 format in UTC (YYYY-MM-DDTHH:mm:ssZ). |
2026-06-10T11:00:00Z |
| DefaultBranchId |
string |
The ID of the default branch. |
br-1a2b3c4d5e6f |
| DefaultBranchName |
string |
The name of the default branch. |
main |
| HistoryRetentionSeconds |
integer |
The retention period for recent records of the project. This parameter may be empty for older projects. To query the current effective value, call DescribeAgenticDBProjectHistoryRetention. |
604800 |
| ProjectId |
string |
The ID of the new project. |
proj-a1b2c3d4e5f6 |
| ProjectName |
string |
The name of the project. |
analytics-prod |
| RequestId |
string |
The ID of the request. |
E5F6A7B8-C9D0-1234-EFAB-345678901234 |
| TenantId |
string |
The ID of the tenant. |
t-4b83e0da66674951 |
Examples
Success response
JSON format
{
"BranchComputeClusterId": "pc-g0lsayq8c5qe",
"CreateTime": "2026-06-10T11:00:00Z",
"DefaultBranchId": "br-1a2b3c4d5e6f",
"DefaultBranchName": "main",
"HistoryRetentionSeconds": 604800,
"ProjectId": "proj-a1b2c3d4e5f6",
"ProjectName": "analytics-prod",
"RequestId": "E5F6A7B8-C9D0-1234-EFAB-345678901234",
"TenantId": "t-4b83e0da66674951"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.