All Products
Search
Document Center

Simple Log Service:GetSlsService

Last Updated:Sep 23, 2025

Call the GetSlsService operation to retrieve the activation status of Simple Log Service. The endpoint must be China (Shanghai) or Singapore.

Operation description

This operation requires an AccessKey pair. For more information, see AccessKey pair.

An AccessKey pair for an Alibaba Cloud account grants full access to all APIs. This poses a high security threat. Create and use a RAM user for API access or routine operations and maintenance (O&M). The RAM user must have permissions to operate Simple Log Service resources. For more information, see Create and authorize a RAM user.

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 /slsservice HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

No parameters required.

Response elements

Element

Type

Description

Example

headers

object

Content-Type

string

Server

string

Connection

string

Date

string

x-log-requestid

string

Content-Length

string

serviceStatus

The response body.

Examples

Success response

JSON format

{
  "status": "NotExist",
  "enabled": false
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.