All Products
Search
Document Center

CloudOps Orchestration Service:ListOpsItems

Last Updated:Sep 21, 2026

Queries OpsItems.

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

oos:ListOpsItems

list

*OpsItem

acs:oos:{#regionId}:{#accountId}:opsitem/*

  • oos:TLSVersion
None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

The region ID.

cn-hangzhou

MaxResults

integer

No

The number of entries per page. Valid values: 10 to 100. Default value: 50.

50

NextToken

string

No

The pagination token that is used to retrieve a new page of results.

MTRBMDc0NjAtRUJFNy00N0NBLTk3NTctMTJDQzQ3NjFENDdB

Filter

array<object>

No

The filter rules for components.

object

No

Name

string

No

The name of the filter parameter.

Status

Operator

string

No

The comparison operator for the component property query value.

Equal

Value

array

No

The list of filter values.

string

No

The filter parameter value.

Open

Tags

object

No

The tags.

{"k1": "v1", "k2": "v2"}

ResourceTags

object

No

The resource tag information.

{ "k1": "v1", "k2": "v2" }

ResourceGroupId

string

No

The resource group ID.

rg-acfmzmhzoaad5oq

Response elements

Element

Type

Description

Example

object

MaxResults

integer

The number of entries per page.

50

NextToken

string

The pagination token for the next page.

gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC6KPDUL0FIIb

OpsItems

array<object>

The list of OpsItems.

array<object>

Category

string

The category.

Security

CreateDate

string

The creation time in ISO 8601 format. The time is displayed in UTC.

2023-07-09T10:01Z

OpsItemId

string

The OpsItem ID.

oi-d52b08695e2b46ae8413

Priority

integer

The priority.

1

ResourceGroupId

string

The resource group ID.

rg-acfmzmhzoaad5oq

Resources

array

The list of associated resource ARNs.

string

The associated resource ARN.

[\"arn:acs:ecs:cn-beijing:1770150251620858:instance/i-2zef6yild47noprhuzv4\",\"arn:acs:ecs:cn-beijing:1770150251620858:instance/i-2zef6yild47noprhuzv3\"]

Severity

string

The severity level.

Medium

Source

string

The source service.

/aliyun/ecs

Status

string

The status.

Open

Tags

object

The tags.

{"k1":"v1"}

Title

string

The OpsItem title.

Test

UpdateDate

string

The update time in ISO 8601 format. The time is displayed in UTC.

2023-07-09T10:01Z

RequestId

string

The request ID.

113DD533-389C-5F83-9C69-F64D5BAB10B2

TotalCount

integer

The total number of entries returned.

1

Examples

Success response

JSON format

{
  "MaxResults": 50,
  "NextToken": "gAAAAABfTgv5ewUWmNdJ3g7JVLvX70sPH90GZOVGC6KPDUL0FIIb",
  "OpsItems": [
    {
      "Category": "Security",
      "CreateDate": "2023-07-09T10:01Z",
      "OpsItemId": "oi-d52b08695e2b46ae8413",
      "Priority": 1,
      "ResourceGroupId": "rg-acfmzmhzoaad5oq",
      "Resources": [
        "[\\\"arn:acs:ecs:cn-beijing:1770150251620858:instance/i-2zef6yild47noprhuzv4\\\",\\\"arn:acs:ecs:cn-beijing:1770150251620858:instance/i-2zef6yild47noprhuzv3\\\"]"
      ],
      "Severity": "Medium",
      "Source": "/aliyun/ecs",
      "Status": "Open",
      "Tags": {
        "k1": "v1"
      },
      "Title": "Test",
      "UpdateDate": "2023-07-09T10:01Z"
    }
  ],
  "RequestId": "113DD533-389C-5F83-9C69-F64D5BAB10B2",
  "TotalCount": 1
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.