All Products
Search
Document Center

ApsaraDB RDS:GetConversations

Last Updated:Mar 05, 2026

Queries the history conversations of a user.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
rdsai:GetConversationsnone
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
LastIdstringNo

The operation that you want to perform. Set the value to GetConversations.

77be60cd-237b-4ca9-9c46-48b663cb****
LimitstringNo

The ID of the last conversation.

10
PinnedstringNo

The number of entries per page. Valid values: 1 to 100.

true
SortBystringNo

Specifies whether to pin the application.

CreatedAt

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

FE9C65D7-930F-57A5-A207-8C396329****
Dataarray<object>

The returned results.

dataobject

The returned result.

Idstring

The ID of the history conversation.

60b335ca-124d-4ee1-864b-de554987****
Namestring

The name of the history conversation.

Introductionstring

The introduction to the conversation.

CreatedAtstring

The creation time of the conversation.

1764055092
HasMorestring

Indicates whether the current page is followed by a page.

true
Limitlong

The number of entries per page. Valid values: 1 to 100. Default value: 100.

100

Examples

Sample success responses

JSONformat

{
  "RequestId": "FE9C65D7-930F-57A5-A207-8C396329****",
  "Data": [
    {
      "Id": "60b335ca-124d-4ee1-864b-de554987****",
      "Name": "",
      "Introduction": "",
      "CreatedAt": 1764055092
    }
  ],
  "HasMore": true,
  "Limit": 100
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParameterThe provided parameter is invalid.Invalid parameter.
404UserNotFoundUser does not exist.User does not exist.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2025-12-04The Error code has changed. The request parameters of the API has changedView Change Details
2025-12-03Add OperationView Change Details