Domain name for API request: adp.intl.tencentcloudapi.com.
View session information.
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: DescribeConversation. |
| Version | Yes | String | Common Params. The value used for this API: 2026-05-20. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| ConversationId | Yes | String | Session ID |
| Type | Yes | Integer | Session type. Enumeration values: 0-CONVERSATION_TYPE_UNSPECIFIED (not specified; means all in list query), 1-CONVERSATION_TYPE_VISITOR (visitor trial), 2-CONVERSATION_TYPE_EVALUATION (evaluation), 5-CONVERSATION_TYPE_API (API integration), 10-CONVERSATION_TYPE_WORKFLOW (workflow debugging), 20-CONVERSATION_TYPE_SHARE (share a link) |
| AppKey | No | String | Required when Type=CONVERSATION_TYPE_API. Application key |
| LoginSubAccountUin | No | String | Primary user Uin. |
| LoginUin | No | String | Sub-user Uin |
| ShareCode | No | String | Required when Type=CONVERSATION_TYPE_SHARE. Share code |
| UserId | No | String | Required when Type=CONVERSATION_TYPE_API. Visitor ID |
| Parameter Name | Type | Description |
|---|---|---|
| AppId | String | App ID |
| ConversationId | String | Session ID. |
| CreateTime | String | Creation time. |
| Type | Integer | Session type. Enumeration values: 0-CONVERSATION_TYPE_UNSPECIFIED (unspecified; means all in list query), 1-CONVERSATION_TYPE_VISITOR (visitor trial), 2-CONVERSATION_TYPE_EVALUATION (evaluation), 5-CONVERSATION_TYPE_API (API integration), 10-CONVERSATION_TYPE_WORKFLOW (workflow debugging), 20-CONVERSATION_TYPE_SHARE (share a link) |
| UpdateTime | String | Update time. |
| Workspace | ConversationWorkspace | Workspace |
| Title | String | Session title. |
| AgentId | String | Client-side AgentId used for the session. |
| 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: adp.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeConversation
<Common request parameters>
{
"ConversationId": "4abd149a-e010-4a6c-bc52-1132658f149d",
"Type": 2,
"AppKey": "1",
"ShareCode": "1",
"UserId": "1",
"LoginSubAccountUin": "700001046587",
"LoginUin": "700001046587"
}
{
"Response": {
"AppId": "2049746910862560576",
"ConversationId": "4abd149a-e010-4a6c-bc52-1132658f149d",
"CreateTime": "2026-04-30T15:05:27+08:00",
"Type": 2,
"UpdateTime": "2026-04-30T16:01:05+08:00",
"Workspace": {
"StorageType": "sandbox_e2b",
"WorkspaceId": "6576c839-839c-4a54-b820-408aec31dbe0"
},
"RequestId": "7fcd93a2-6fe4-4809-9c9e-d03dad2a0aaf"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
文档反馈