• 製品
  • 価格
  • リソース
  • サポート
このページは現在英語版のみで提供されており、日本語版も近日中に提供される予定です。ご利用いただきありがとうございます。

DescribeAITranscription

1. API Description

Domain name for API request: trtc.intl.tencentcloudapi.com.

This API is used to query the transcription status after starting a transcription task. It is effective only when the transcription task is in process. Querying after termination will return an error.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

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 NameRequiredTypeDescription
ActionYesStringCommon Params. The value used for this API: DescribeCloudTranscription.
VersionYesStringCommon Params. The value used for this API: 2019-07-22.
RegionYesStringCommon Params. For more information, please see the list of regions supported by the product. This API only supports: ap-guangzhou, ap-hongkong, ap-singapore.
SdkAppIdYesIntegerSDKAppId of TRTC, which is the same as the SDKAppId of the room being transcribed.
TaskIdYesStringThe unique Id of the transcription task will be returned upon successful startup.

3. Output Parameters

Parameter NameTypeDescription
StartTimeIntegerTime of starting the transcription task.
StatusStringTranscription task status.

- Idle: Indicates the current transcription task is idle.
- InProgress: Indicates the current transcription task is in progress.
- Exited: Indicates the current transcription task is in the process of exiting.
TaskIdStringUnique Id of the transcribe task.
RequestIdStringThe 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.

4. Example

Example1 Querying a transcription task

Input Example

POST / HTTP/1.1
Host: trtc.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeCloudTranscription
<Common request parameters>

{
    "TaskId": "m9-bVVU7nhKM5X3GsED6KNGVG********ndibWSn631uT6pbhE4PcPDSsggE.",
    "SdkAppId": 1400000000
}

Output Example

{
    "Response": {
        "StartTime": 1772433534515,
        "Status": "Idle",
        "RequestId": "f83001c5-7e3c-dfac-ba3e-236bf063c8d1",
        "TaskId": "m9-bVVU7nhKM5X3GsED6KNGVG********ndibWSn631uT6pbhE4PcPDSsggE."
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error CodeDescription
AuthFailureCAM signature/authentication error.
AuthFailure.UnauthorizedOperationCAM authentication failed.
AuthFailure.UnsupportedOperationUnsupported operation.
FailedOperationOperation failed.
FailedOperation.CTUnsupportMethodThe cloud transcription method does not support this.
InternalErrorInternal error.
InternalError.CTInternalErrorInternal errors.
InvalidParameterParameter error.
InvalidParameter.SdkAppIdSdkAppId is incorrect.
MissingParameter.RoomIdRoomId is missing.
MissingParameter.SdkAppIdSdkAppId is missing.
MissingParameter.TaskIdTaskId parameter is missing.
MissingParameter.UserIdMissing UserId parameter.
ResourceNotFoundThe resource does not exist.