# Tencent Cloud Knowledge Engine Atomic Capabilities API

> Tencent Cloud Knowledge Engine Atomic Capabilities API on Apizie: 11 endpoints (Cancel Task, Chat Completions, Create Reconstruct Document Flow, Create Split Document Flow, …) 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-lkeap/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

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

Tencent Cloud API 3.0 for Knowledge Engine Atomic Capabilities (lkeap). Every call is signed with TC3-HMAC-SHA256 using your SecretId and SecretKey.

## Endpoints

### Cancel Task
`POST https://apizie.tech/v1/cloud:tencent-lkeap/cancel-task` (byok)

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

### Chat Completions
`POST https://apizie.tech/v1/cloud:tencent-lkeap/chat-completions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Model | string | yes |  |
| Messages | array | yes |  |
| Stream | boolean | no |  |
| Temperature | number | no |  |
| MaxTokens | integer | no |  |
| EnableSearch | boolean | no |  |
| Thinking | object | no |  |

### Create Reconstruct Document Flow
`POST https://apizie.tech/v1/cloud:tencent-lkeap/create-reconstruct-document-flow` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| FileType | string | yes |  |
| FileUrl | string | no |  |
| FileBase64 | string | no |  |
| FileStartPageNumber | integer | no |  |
| FileEndPageNumber | integer | no |  |
| Config | object | no |  |

### Create Split Document Flow
`POST https://apizie.tech/v1/cloud:tencent-lkeap/create-split-document-flow` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| FileType | string | yes |  |
| FileUrl | string | yes |  |
| FileName | string | no |  |
| FileStartPageNumber | integer | no |  |
| FileEndPageNumber | integer | no |  |
| Config | object | no |  |

### Get Character Usage
`POST https://apizie.tech/v1/cloud:tencent-lkeap/get-character-usage` (byok)

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

### Get Embedding
`POST https://apizie.tech/v1/cloud:tencent-lkeap/get-embedding` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| Model | string | yes |  |
| Inputs | array | yes |  |
| TextType | string | no |  |
| Instruction | string | no |  |

### Get Reconstruct Document Result
`POST https://apizie.tech/v1/cloud:tencent-lkeap/get-reconstruct-document-result` (byok)

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

### Get Split Document Result
`POST https://apizie.tech/v1/cloud:tencent-lkeap/get-split-document-result` (byok)

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

### Query Rewrite
`POST https://apizie.tech/v1/cloud:tencent-lkeap/query-rewrite` (byok)

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

### Reconstruct Document SSE
`POST https://apizie.tech/v1/cloud:tencent-lkeap/reconstruct-document-sse` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-TC-Region | string | no | Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley |
| FileType | string | yes |  |
| FileUrl | string | no |  |
| FileBase64 | string | no |  |
| FileStartPageNumber | integer | no |  |
| FileEndPageNumber | integer | no |  |
| Config | object | no |  |

### Run Rerank
`POST https://apizie.tech/v1/cloud:tencent-lkeap/run-rerank` (byok)

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

## Example
```
curl "https://apizie.tech/v1/cloud:tencent-lkeap/cancel-task" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Tencent Cloud Knowledge Engine Atomic Capabilities API?
Create a free Apizie key, then send POST https://apizie.tech/v1/cloud:tencent-lkeap/cancel-task with the header x-api-key. Every endpoint returns { project, data, timestamp }.

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

### Can AI agents use the Tencent Cloud Knowledge Engine Atomic Capabilities 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-lkeap.

### What is the status of the Tencent Cloud Knowledge Engine Atomic Capabilities API?
Needs your own provider key (bring your own key)
