Help Center/ Workspace/ API Reference/ Workspace APIs/ Skill Installation/ Querying Skill Installation Event Records
Updated on 2026-11-20 GMT+08:00

Querying Skill Installation Event Records

Function

Lists skill installation event records (data source: tbl_skill_installation_event event record table).

An installation or upgrade may involve multiple attempts (failure → retry → success). The record table displays the process and final status of each operation.

Filtering by instance, skill, skill package (matching from_package_id or to_package_id), operation type, operation result, and time range is supported.

Tenant isolation is implicitly implemented using IAM tokens. The domain ID does not need to be explicitly passed.

Debugging

You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.

  • If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
  • If you are using identity policy-based authorization, the following identity policy-based permissions are required.

    Action

    Access Level

    Resource Type (*: required)

    Condition Key

    Alias

    Dependencies

    workspace:agentInstance:listSkills

    List

    -

    -

    -

    -

URI

POST /v3/ai-agents/skill-installation-events/query

Request Parameters

Table 1 Request header parameters

Parameter

Mandatory

Type

Description

X-Language

No

String

Language, which is used for internationalization.

  • en-us: English.

  • zh-cn: Chinese.

Table 2 Request body parameters

Parameter

Mandatory

Type

Description

instance_id

No

String

Instance ID, which is used to query the installation events of all skills on the instance.

skill_id

No

String

Skill ID, which is used to query the installation events of the skill on all instances.

package_id

No

String

Skill package ID, which matches both from_package_id and to_package_id.

action

No

String

Operation type filtering. Enumerated values: INSTALL (installation), UNINSTALL (uninstallation), UPGRADE (upgrade), and ROLLBACK (rollback).

result

No

String

Operation result filtering. Enumerated values: SUCCESS and FAILED.

start_time

No

String

Start time of the operation initiation (UTC time in ISO 8601 format).

end_time

No

String

End time of the operation initiation (UTC time in ISO 8601 format).

offset

No

Integer

Offset. The default value is 0.

limit

No

Integer

Number of records on each page. The default value is 20, and the maximum value is 100.

Response Parameters

Status code: 200

Table 3 Response header parameters

Parameter

Type

Description

X-Request-Id

String

-

Table 4 Response body parameters

Parameter

Type

Description

total

Integer

Total quantity.

items

Array of SkillInstallationEventItemVO objects

List items of installation event records.

Table 5 SkillInstallationEventItemVO

Parameter

Type

Description

id

String

Event ID.

instance_id

String

Instance ID.

instance_name

String

Instance name.

skill_id

String

Skill ID.

display_name

String

Skill name.

slug

String

Skill slug.

action

String

Operation type. The options are INSTALL, UNINSTALL, UPGRADE, and ROLLBACK.

result

String

Operation result. The options are SUCCESS and FAILED.

from_package_id

String

Original skill package ID (available during upgrade or rollback).

from_version

String

Original skill package version.

to_package_id

String

Target skill package ID.

version

String

Target skill package version.

error_message

String

Error message on failure.

operated_by

String

Operator.

operated_role

String

Operator role. The options are COMMON and TENANT.

operated_at

String

Time when an operation is initiated (UTC time in ISO 8601 format).

finished_at

String

Operation completion time (UTC time in ISO 8601 format).

Status code: 400

Table 6 Response header parameters

Parameter

Type

Description

X-Request-Id

String

-

Table 7 Response body parameters

Parameter

Type

Description

error_code

String

Error code, which is returned upon failure.

error_msg

String

Error message.

Status code: 401

Table 8 Response header parameters

Parameter

Type

Description

X-Request-Id

String

-

Table 9 Response body parameters

Parameter

Type

Description

error_code

String

Error code, which is returned upon failure.

error_msg

String

Error message.

Status code: 403

Table 10 Response header parameters

Parameter

Type

Description

X-Request-Id

String

-

Table 11 Response body parameters

Parameter

Type

Description

error_code

String

Error code, which is returned upon failure.

error_msg

String

Error message.

Status code: 500

Table 12 Response header parameters

Parameter

Type

Description

X-Request-Id

String

-

Table 13 Response body parameters

Parameter

Type

Description

error_code

String

Error code, which is returned upon failure.

error_msg

String

Error message.

Example Requests

/v3/ai-agents/skill-installation-events/query

{
  "skill_id" : "skill-uuid-001",
  "action" : "UPGRADE",
  "result" : "SUCCESS",
  "offset" : 0,
  "limit" : 20
}

Example Responses

Status code: 200

{
  "total" : 2,
  "items" : [ {
    "id" : "evt-uuid-001",
    "instance_id" : "instance-001",
    "instance_name" : "desktop-001",
    "skill_id" : "skill-uuid-001",
    "display_name" : "Web Search",
    "slug" : "web-search-v1",
    "action" : "INSTALL",
    "result" : "SUCCESS",
    "from_package_id" : null,
    "from_version" : null,
    "to_package_id" : "pkg-uuid-001",
    "version" : "1.0.0",
    "error_message" : null,
    "operated_by" : "s30020398",
    "operated_role" : "TENANT",
    "operated_at" : "2026-05-12T10:29:00Z",
    "finished_at" : "2026-05-12T10:30:00Z"
  }, {
    "id" : "evt-uuid-002",
    "instance_id" : "instance-001",
    "instance_name" : "desktop-001",
    "skill_id" : "skill-uuid-001",
    "display_name" : "Web Search",
    "slug" : "web-search-v1",
    "action" : "UPGRADE",
    "result" : "FAILED",
    "from_package_id" : "pkg-uuid-001",
    "from_version" : "1.0.0",
    "to_package_id" : "pkg-uuid-002",
    "version" : "2.0.0",
    "error_message" : "upgrade timeout, rolled back",
    "operated_by" : "s30020398",
    "operated_role" : "TENANT",
    "operated_at" : "2026-06-01T15:00:00Z",
    "finished_at" : "2026-06-01T15:05:00Z"
  } ]
}

Status Codes

Status Code

Description

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

500

Internal Server Error

Error Codes

See Error Codes.