Help Center/ Workspace/ API Reference/ Workspace APIs/ Skill Packages/ Querying Details About a Common Skill Package (Read-Only)
Updated on 2026-09-11 GMT+08:00

Querying Details About a Common Skill Package (Read-Only)

Function

An enterprise tenant queries details about a common skill package (read-only).

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, no identity policy-based permission required for calling this API.

URI

GET /v3/ai-agents/common-skills/{skill_id}/packages/{package_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

skill_id

Yes

String

Skill ID.

package_id

Yes

String

Skill package ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Language

No

String

Language, which is used for internationalization.

  • en-us: English.

  • zh-cn: Chinese.

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

id

String

Skill package ID.

skill_id

String

Skill ID.

version

String

Version.

revision

Integer

Version revision number.

package_hash

String

SHA-256 hash value of the skill package.

package_size

Long

Size of the skill package, in bytes.

package_status

String

Skill package status.

uploaded_by

String

Uploader.

uploaded_role

String

Role of the uploader.

regions

Array of SkillPackageRegionItem objects

Region details list.

remark

String

Remarks.

create_time

String

Creation time (UTC time in ISO 8601 format).

update_time

String

Update time (UTC time in ISO 8601 format).

Table 5 SkillPackageRegionItem

Parameter

Type

Description

region

String

Region ID.

obs_bucket

String

OBS bucket name.

obs_object_key

String

OBS object key.

upload_status

String

Upload status.

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

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.

Status code: 500

Table 14 Response header parameters

Parameter

Type

Description

X-Request-Id

String

-

Table 15 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/common-skills/skill-uuid-001/packages/pkg-uuid-001

Example Responses

Status code: 200

{
  "id" : "pkg-uuid-001",
  "skill_id" : "skill-uuid-001",
  "version" : "1.0.0",
  "revision" : 1,
  "package_hash" : "sha256-abc123...",
  "package_size" : 52428800,
  "package_status" : "PUBLISHED",
  "uploaded_by" : "sre-admin",
  "uploaded_role" : "HUAWEI_ADMIN",
  "regions" : [ {
    "region" : "cn-north-7",
    "obs_bucket" : "wks-skills-cn-north-7",
    "obs_object_key" : "skills/web-search-v1/1.0.0/web-search-v1.tar.gz",
    "upload_status" : "UPLOADED"
  } ],
  "remark" : "Initial version",
  "create_time" : "2026-05-12T10:00:00Z",
  "update_time" : "2026-05-12T10:00:00Z"
}

Status Codes

Status Code

Description

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

Error Codes

See Error Codes.