All Products
Search
Document Center

Simple Log Service:ListNextResourceRecord

Last Updated:Aug 28, 2026

Lists resource records using nextToken.

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 syntax

GET /resources/{resourceName}/next_records HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

resourceName

string

Yes

The resource name.

sls.alert.user

Request parameters

Parameter

Type

Required

Description

Example

nextToken

string

No

The pagination token. Do not pass this parameter for the first request. For subsequent requests, pass the nextToken value returned in the previous response.

t7F6JzTNNTjkq2tRBH8hR0a_NcuVYQWjbVwdFeuFhkylsUhrDl0JSofT5mrbI0oV"

maxResults

integer

No

The maximum number of records to return in this request. Valid values: 1 to 200.

100

tag

string

No

Filters records by tag.

production

ids

string

No

Filters records by ID. Separate multiple IDs with commas. A maximum of 200 IDs are supported.

record-001,record-002

search

string

No

Searches for a specified string in record content.

example

sjson

string

No

Searches by JSON content.

status

jsonPath

string

No

The JSON field path. Used together with jsonPathValue.

$.status

jsonPathValue

string

No

The filter value for the JSON field. Used together with jsonPath.

enabled

reverse

boolean

No

Specifies whether to traverse records in reverse order.

false

includeSystemRecords

boolean

No

Specifies whether to include system built-in records.

false

jsonFilterAcc

boolean

No

Specifies whether to enable JSON filter acceleration.

false

Response elements

Element

Type

Description

Example

object

The response struct.

maxResults

integer

The maximum number of records returned in this request.

100

total

integer

The total number of records that match the filter criteria.

245

nextToken

string

The pagination token for the next page. An empty value indicates that no more data is available.

t7F6JzTNNTjkq2tRBH8hR0a_NcuVYQWjbVwdFeuFhkylsUhrDl0JSofT5mrbI0oV"

items

array

The list of resource records.

ResourceRecord

The resource record struct.

Examples

Success response

JSON format

{
  "maxResults": 100,
  "total": 245,
  "nextToken": "t7F6JzTNNTjkq2tRBH8hR0a_NcuVYQWjbVwdFeuFhkylsUhrDl0JSofT5mrbI0oV\"",
  "items": [
    {
      "id": "record-001",
      "tag": "production",
      "value": "{\"key\":\"value\"}",
      "createTime": 1787800000,
      "lastModifyTime": 1787803600
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.