All Products
Search
Document Center

PolarDB:DescribeApplicationSessionIds

Last Updated:Jul 15, 2026

Queries AI application sessions.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID.

cn-hangzhou

ApplicationId

string

Yes

The application ID.

pa-**************

StartTime

string

Yes

The beginning of the time range to query. Specify the time in the YYYY-MM-DDThh:mmZ format (UTC).

2022-11-15T16:00Z

EndTime

string

Yes

The end of the time range to query.

2020-02-01T18:00Z

PageSize

integer

No

The number of entries per page.

30

PageNumber

integer

No

The page number.

1

Response elements

Element

Type

Description

Example

object

PageNumber

integer

The page number.

1

PageRecordCount

integer

The number of entries on the current page.

30

RequestId

string

The request ID.

7F2007D3-7E74-4ECB-89A8-BF130D******

TotalRecordCount

string

The total number of entries.

1

Items

object

items

array<object>

The list of sessions.

object

The list of sessions.

Agent

string

main

SessionId

string

c84ae910-7a02-4873-a4f5-9275920fcdb8

Time

string

1769047514542

ApplicationId

string

The application ID.

pa-********************

Examples

Success response

JSON format

{
  "PageNumber": 1,
  "PageRecordCount": 30,
  "RequestId": "7F2007D3-7E74-4ECB-89A8-BF130D******",
  "TotalRecordCount": "1",
  "Items": {
    "items": [
      {
        "Agent": "main",
        "SessionId": "c84ae910-7a02-4873-a4f5-9275920fcdb8",
        "Time": "1769047514542"
      }
    ]
  },
  "ApplicationId": "pa-********************"
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidStartTime.Malformed The specified parameter StartTime is not valid. The specified StartTime parameter is invalid.
404 InvalidDBClusterId.NotFound The DBInstanceId provided does not exist in our records. The specified DBClusterId parameter does not exist in the current record.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.