Domain name for API request: es.intl.tencentcloudapi.com.
This service accurately converts various format documents into standard format, meeting requirements for Enterprise Knowledge Base construction, technical documentation migration, and structured storage for content platforms.
This API is an async API with a model dimensional call limit. Each model has a qps limit of 5. If you need to increase the concurrent limit, please contact us (https://www.tencentcloud.com/act/event/Online_service?from_cn_redirect=1).
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ParseDocumentAsync. |
| Version | Yes | String | Common Params. The value used for this API: 2025-01-01. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| Document | Yes | Document | File information. |
| ModelName | Yes | String | Model name, selectable model list: doc-llm. |
| Parameter Name | Type | Description |
|---|---|---|
| TaskId | String | Task ID |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: es.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ParseDocumentAsync
<Common request parameters>
{
"Document": {
"FileType": "TXT",
"FileUrl": "",
"FileContent": "data:text/plain;base64,SGVsbG8sIFdvcmxkIQ==",
"FileName": "test.txt",
"FileStartPageNumber": 1,
"FileEndPageNumber": 1
},
"ModelName": "doc-llm"
}
{
"Response": {
"RequestId": "e3a1a515-e53c-473f-9114-6d05a19d1c0c",
"TaskId": "acf20b7e-47b2-4cfd-8aba-d170dee34cfc"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InternalError | Internal error. |
| InvalidParameter | Parameter error. |
| LimitExceeded | The quota limit is exceeded. |
フィードバック