# Tencent Cloud TCHouse-P Data Warehouse API

> Tencent Cloud TCHouse-P Data Warehouse API on Apizie: 24 endpoints (Create Instance By Api, Describe Accounts, Describe DBConfig History, Describe DBParams, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/cloud:tencent-cdwpg/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:tencent-cdwpg`
- Category: Cloud
- Status: byok
- Source: https://www.tencentcloud.com/document/api
- Page: https://apizie.tech/api/cloud/tencent-cdwpg
- OpenAPI: https://apizie.tech/api/cloud/tencent-cdwpg/openapi.json

Tencent Cloud API 3.0 for TCHouse-P Data Warehouse (cdwpg). Every call is signed with TC3-HMAC-SHA256 using your SecretId and SecretKey.

## Endpoints

### Create Instance By Api
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/create-instance-by-api` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceName | string | yes |  |
| Zone | string | yes |  |
| UserVPCId | string | yes |  |
| UserSubnetId | string | yes |  |
| ChargeProperties | object | yes |  |
| AdminPassword | string | yes |  |
| Resources | array | yes |  |
| ProductVersion | string | no |  |
| TagItems | array | no |  |

### Describe Accounts
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/describe-accounts` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| Offset | integer | no |  |
| Limit | integer | no |  |

### Describe DBConfig History
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/describe-dbconfig-history` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| Limit | integer | no |  |
| Offset | integer | no |  |

### Describe DBParams
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/describe-dbparams` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| NodeTypes | array | no |  |
| Limit | integer | no |  |
| Offset | integer | no |  |
| InstanceId | string | no |  |

### Describe Error Log
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/describe-error-log` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| StartTime | string | yes |  |
| EndTime | string | yes |  |
| Limit | integer | no |  |
| Offset | integer | no |  |

### Describe Instance
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/describe-instance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |

### Describe Instance Info
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/describe-instance-info` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |

### Describe Instance Nodes
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/describe-instance-nodes` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |

### Describe Instance Operations
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/describe-instance-operations` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| Offset | integer | no |  |
| Limit | integer | no |  |
| StartTime | string | no |  |
| EndTime | string | no |  |

### Describe Instance State
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/describe-instance-state` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | no |  |
| InstanceIds | array | no |  |

### Describe Instances
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/describe-instances` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| SearchInstanceId | string | no |  |
| SearchInstanceName | string | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |
| SearchTags | array | no |  |

### Describe Simple Instances
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/describe-simple-instances` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| SearchInstanceId | string | no |  |
| SearchInstanceName | string | no |  |
| Offset | integer | no |  |
| Limit | integer | no |  |
| SearchTags | array | no |  |

### Describe Slow Log
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/describe-slow-log` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| StartTime | string | yes |  |
| EndTime | string | yes |  |
| Limit | integer | no |  |
| Offset | integer | no |  |
| Database | string | no |  |
| OrderBy | string | no |  |
| OrderByType | string | no |  |
| Duration | number | no |  |
| UserName | string | no |  |
| QueryString | string | no |  |

### Describe Upgrade List
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/describe-upgrade-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| Offset | integer | no |  |
| Limit | integer | no |  |

### Describe User Hba Config
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/describe-user-hba-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |

### Destroy Instance By Api
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/destroy-instance-by-api` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |

### Modify DBParameters
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/modify-dbparameters` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | no |  |
| NodeConfigParams | array | no |  |

### Modify Instance
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/modify-instance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| InstanceName | string | yes |  |

### Modify User Hba
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/modify-user-hba` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| HbaConfigs | array | no |  |

### Reset Account Password
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/reset-account-password` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| UserName | string | yes |  |
| NewPassword | string | yes |  |

### Restart Instance
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/restart-instance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| NodeTypes | array | no |  |
| NodeIds | array | no |  |

### Scale Out Instance
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/scale-out-instance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| NodeType | string | yes |  |
| ScaleOutCount | integer | yes |  |

### Scale Up Instance
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/scale-up-instance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| Case | string | yes |  |
| ModifySpec | object | yes |  |
| InstanceName | string | no |  |

### Upgrade Instance
`POST https://apizie.tech/v1/cloud:tencent-cdwpg/upgrade-instance` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| InstanceId | string | yes |  |
| PackageVersion | string | yes |  |

## Example
```
curl "https://apizie.tech/v1/cloud:tencent-cdwpg/create-instance-by-api" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Tencent Cloud TCHouse-P Data Warehouse API?
Create a free Apizie key, then send POST https://apizie.tech/v1/cloud:tencent-cdwpg/create-instance-by-api with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Tencent Cloud TCHouse-P Data Warehouse API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Tencent Cloud TCHouse-P Data Warehouse itself also needs your own key from tencentcloudapi.com.

### Can AI agents use the Tencent Cloud TCHouse-P Data Warehouse API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:tencent-cdwpg.

### What is the status of the Tencent Cloud TCHouse-P Data Warehouse API?
Needs your own provider key (bring your own key)
