All Products
Search
Document Center

CloudOps Orchestration Service:GetOpsItem

Last Updated:Sep 21, 2026

Retrieves the details of an OpsItem.

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:GetOpsItem

get

*OpsItem

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

  • oos:TLSVersion
None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

The region ID.

cn-hangzhou

OpsItemId

string

Yes

The OpsItem ID.

oi-d52b08695e2b46ae8413

Response elements

Element

Type

Description

Example

object

OpsItem

object

The OpsItem.

ActualEffortHours

number

The actual effort spent, in hours.

6.5

ActualFinishTime

string

The actual finish time, in ISO 8601 format and UTC.

2026-08-30T18:00:00Z

AssigneeId

string

The assignee identifier, in the format of type:id.

user:123456789

Attributes

object

The OpsItem attribute information.

Category

string

The category.

Security

CreateBy

string

The creator information.

root(130900000)

CreateDate

string

The creation time, in ISO 8601 format and UTC.

2023-04-10T06:15Z

Description

string

The description.

test-update

EstimatedEffortHours

number

The estimated effort, in hours.

8.0

LastModifiedBy

string

The user who last modified the OpsItem.

modifiedBy

OpsItemId

string

The OpsItem ID.

oi-d52b08695e2b46ae8413

PlannedFinishTime

string

The planned finish time, in ISO 8601 format and UTC.

2026-09-01T00:00:00Z

Priority

integer

The priority.

1

Progress

integer

The progress percentage. Valid values: 0 to 100.

50

ResourceGroupId

string

The resource group ID.

rg-aekzxkofnlxtn2i

Resources

array

The list of associated resource ARNs.

string

The associated resource ARN.

[\"arn:acs:ecs:cn-hangzhou:1770150251620858:instance/i-bp12tnoea6nwofva06e8\"]

Severity

string

The severity level.

Medium

Solutions

array<object>

The list of solutions.

object

The Solutions.

Source

string

The source service.

/aliyun/appManager

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 and UTC.

2023-04-10T06:15Z

RequestId

string

The request ID.

8BED4C16-BD30-5E27-94D4-7EBCCECF70C1

Examples

Success response

JSON format

{
  "OpsItem": {
    "ActualEffortHours": 6.5,
    "ActualFinishTime": "2026-08-30T18:00:00Z",
    "AssigneeId": "user:123456789",
    "Attributes": {
      "test": "test",
      "test2": 1
    },
    "Category": "Security",
    "CreateBy": "root(130900000)\n",
    "CreateDate": "2023-04-10T06:15Z",
    "Description": "test-update",
    "EstimatedEffortHours": 8,
    "LastModifiedBy": "modifiedBy",
    "OpsItemId": "oi-d52b08695e2b46ae8413\n",
    "PlannedFinishTime": "2026-09-01T00:00:00Z",
    "Priority": 1,
    "Progress": 50,
    "ResourceGroupId": "rg-aekzxkofnlxtn2i",
    "Resources": [
      "[\\\"arn:acs:ecs:cn-hangzhou:1770150251620858:instance/i-bp12tnoea6nwofva06e8\\\"]"
    ],
    "Severity": "Medium",
    "Solutions": [
      {
        "test": "test",
        "test2": 1
      }
    ],
    "Source": "/aliyun/appManager",
    "Status": "Open",
    "Tags": {
      "K1": "V1"
    },
    "Title": "test",
    "UpdateDate": "2023-04-10T06:15Z\n"
  },
  "RequestId": "8BED4C16-BD30-5E27-94D4-7EBCCECF70C1"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.