List SLS projects
List Alibaba Cloud SLS (Simple Log Service) projects available in the specified SLS datasource.
Restrictions
Usage
- The datasource identified by
idmust be of typesls. - Use
queryto filter projects by name prefix. Useoffsetandsizefor pagination.
Authorizations
App key issued from the Flashduty console under Account → APP Keys. Required on every public API call. Keep it secret — it grants the same access as the owning account.
Body
Parameters for listing SLS projects.
ID of an SLS-type datasource. Obtainable via POST /monit/datasource/list.
Fuzzy filter on project description (maps to the description parameter of Aliyun SLS ListProject). Leave empty to return all.
Pagination offset.
Page size. Defaults to 200 server-side when 0.
Response
Success
Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.