List policy delivery configurations. GET /api/openapi/v1/policy-delivery-configs, scope admin.v1.expert-suites.read.
- Scope:
admin.v1.expert-suites.read - Permission: Read expert suites
- Action: read
- Endpoint: GET
/api/openapi/v1/policy-delivery-configs
Authorization: Bearer \<API_KEY\>. The application must have subject_scope={"mode":"all"}; restricted scopes return 403. Scopes are independently granted. Do not cache responses.
policy_type accepts skill_publish, connector_publish and expert_suite_publish, matching all three UI publish policy types.
GET accepts at most 200 comma-separated UUIDs in policy_ids; absent configurations return auto_install=false and revision=0. PUT uses expected_revision.
Enabling requires a finite, nonempty resource allowlist; disabling does not depend on IAM availability. Save the policy through the corresponding existing publish-policy operation, then call this operation to set auto-install.
These remain separate writes.
Common request headers
Apply the “Authentication and headers” section in “Configure the QwenWork console through APIs”: Authorization is required and X-Request-Id is optional. See this page for the required scope.
Whether Idempotency-Key applies and is required is specified in this page’s request parameters; a tracing identifier does not replace an idempotency key.
Request parameters
| Name | Location | Type | Required | Description | Example |
|---|---|---|---|---|---|
policy_type | query | string | Yes | policy type; enum=["skill_publish", "connector_publish", "expert_suite_publish"] Values: "connector_publish", "expert_suite_publish", "skill_publish" | - |
policy_ids | query | string | Yes | Comma-separated policy identifiers, at most 200 | - |
Response statuses
| HTTP status | Trigger | Response structure | Client action |
|---|---|---|---|
200 | Request succeeded | See “Response” on this page | Read the response. |
default | Other authentication, authorization, validation or dependency errors | See “General error” in “Configure the QwenWork console through APIs” | Handle the status and code; verify the result and idempotency requirements before retrying writes. |
Response
Content-Type: application/json
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
items | array\<object\> | null | Yes | items | - |
items[]
| Field | Type | Required | Description |
|---|---|---|---|
auto_install | boolean | Yes | Whether automatic installation is enabled |
modified_at | string · date-time | No | Last modification time; format="date-time" |
modified_by | string | No | Last modifier identifier |
policy_id | string | Yes | Policy ID |
policy_type | string | Yes | Policy type; enum=["skill_publish", "connector_publish", "expert_suite_publish"] Values: "connector_publish", "expert_suite_publish", "skill_publish" |
revision | integer · int64 | Yes | Current revision for concurrency control; format="int64" |