All Products
Search
Document Center

Simple Log Service:GetResourceRecord

Last Updated:Aug 28, 2026

Retrieves a specified resource record.

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}/records/{recordId} HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

resourceName

string

Yes

The resource name.

sls.alert.user

recordId

string

Yes

The record ID.

record-001

Request parameters

Parameter

Type

Required

Description

Example

includeSystemRecords

boolean

No

Specifies whether to allow retrieving system built-in records.

false

Response elements

Element

Type

Description

Example

ResourceRecord

The queried resource record struct.

Examples

Success response

JSON format

{
  "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.