|
|
|
|
@ -9551,7 +9551,7 @@ Remove one or more tag bindings from a target.
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| keyword | query | Search keyword | No | string |
|
|
|
|
|
| type | query | Tag type filter | No | string, <br>**Available values:** "", "app", "knowledge", "snippet" |
|
|
|
|
|
| type | query | Tag type filter | No | string |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
@ -10087,6 +10087,38 @@ Get list of available agent providers
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Success | **application/json**: [AgentProviderListResponse](#agentproviderlistresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [GET] /workspaces/current/agents/{agent_id}/skills
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| agent_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Agent Skill bindings | **application/json**: [AgentSkillBindingsResponse](#agentskillbindingsresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [PUT] /workspaces/current/agents/{agent_id}/skills
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| agent_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Request Body
|
|
|
|
|
|
|
|
|
|
| Required | Schema |
|
|
|
|
|
| -------- | ------ |
|
|
|
|
|
| Yes | **application/json**: [AgentSkillBindingsPayload](#agentskillbindingspayload)<br> |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Agent Skill bindings replaced | **application/json**: [AgentSkillBindingsResponse](#agentskillbindingsresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [GET] /workspaces/current/customized-snippets
|
|
|
|
|
**List customized snippets with pagination and search**
|
|
|
|
|
|
|
|
|
|
@ -11988,6 +12020,341 @@ Returns permission flags that control workspace features like member invitations
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Success | **application/json**: [WorkspaceAccessMatrix](#workspaceaccessmatrix)<br> |
|
|
|
|
|
|
|
|
|
|
### [GET] /workspaces/current/skills
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| keyword | query | Search keyword matching skill name or description. | No | string |
|
|
|
|
|
| limit | query | Number of items per page. | No | integer, <br>**Default:** 20 |
|
|
|
|
|
| page | query | Page number. | No | integer, <br>**Default:** 1 |
|
|
|
|
|
| tag | query | Skill tag filters. Repeat the parameter for multiple tags. | No | [ string ] |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Workspace skills | **application/json**: [SkillListResponse](#skilllistresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [POST] /workspaces/current/skills
|
|
|
|
|
#### Request Body
|
|
|
|
|
|
|
|
|
|
| Required | Schema |
|
|
|
|
|
| -------- | ------ |
|
|
|
|
|
| Yes | **application/json**: [SkillCreatePayload](#skillcreatepayload)<br> |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 201 | Skill created | **application/json**: [SkillDetailResponse](#skilldetailresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [POST] /workspaces/current/skills/files/upload
|
|
|
|
|
#### Request Body
|
|
|
|
|
|
|
|
|
|
| Required | Schema |
|
|
|
|
|
| -------- | ------ |
|
|
|
|
|
| Yes | **multipart/form-data**: { **"file"**: binary }<br> |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 201 | Skill draft file uploaded | **application/json**: [SkillFileUploadResponse](#skillfileuploadresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [POST] /workspaces/current/skills/import
|
|
|
|
|
Import a Skill zip package from multipart form field `file`.
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 201 | Skill imported | **application/json**: [SkillDetailResponse](#skilldetailresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [GET] /workspaces/current/skills/tags
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Workspace Skill tags | **application/json**: [SkillTagListResponse](#skilltaglistresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [DELETE] /workspaces/current/skills/{skill_id}
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| skill_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Request Body
|
|
|
|
|
|
|
|
|
|
| Required | Schema |
|
|
|
|
|
| -------- | ------ |
|
|
|
|
|
| Yes | **application/json**: [SkillDeletePayload](#skilldeletepayload)<br> |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Skill deleted | **application/json**: [SkillDeleteResponse](#skilldeleteresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [GET] /workspaces/current/skills/{skill_id}
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| skill_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Skill detail | **application/json**: [SkillDetailResponse](#skilldetailresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [PATCH] /workspaces/current/skills/{skill_id}
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| skill_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Request Body
|
|
|
|
|
|
|
|
|
|
| Required | Schema |
|
|
|
|
|
| -------- | ------ |
|
|
|
|
|
| Yes | **application/json**: [SkillMetadataPayload](#skillmetadatapayload)<br> |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Skill updated | **application/json**: [SkillResponse](#skillresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [POST] /workspaces/current/skills/{skill_id}/assist/messages
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| skill_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Request Body
|
|
|
|
|
|
|
|
|
|
| Required | Schema |
|
|
|
|
|
| -------- | ------ |
|
|
|
|
|
| Yes | **application/json**: [SkillAssistMessagePayload](#skillassistmessagepayload)<br> |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description |
|
|
|
|
|
| ---- | ----------- |
|
|
|
|
|
| 200 | Skill Authoring assistant event stream |
|
|
|
|
|
|
|
|
|
|
### [POST] /workspaces/current/skills/{skill_id}/duplicate
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| skill_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 201 | Skill duplicated | **application/json**: [SkillDetailResponse](#skilldetailresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [GET] /workspaces/current/skills/{skill_id}/export
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| skill_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description |
|
|
|
|
|
| ---- | ----------- |
|
|
|
|
|
| 200 | Published Skill zip archive |
|
|
|
|
|
|
|
|
|
|
### [PATCH] /workspaces/current/skills/{skill_id}/files
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| skill_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Request Body
|
|
|
|
|
|
|
|
|
|
| Required | Schema |
|
|
|
|
|
| -------- | ------ |
|
|
|
|
|
| Yes | **application/json**: [SkillDraftFileOperationPayload](#skilldraftfileoperationpayload)<br> |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Draft file operation applied | **application/json**: [SkillDetailResponse](#skilldetailresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [PUT] /workspaces/current/skills/{skill_id}/files
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| skill_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Request Body
|
|
|
|
|
|
|
|
|
|
| Required | Schema |
|
|
|
|
|
| -------- | ------ |
|
|
|
|
|
| Yes | **application/json**: [SkillDraftTreePayload](#skilldrafttreepayload)<br> |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Draft files replaced | **application/json**: [SkillDetailResponse](#skilldetailresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [GET] /workspaces/current/skills/{skill_id}/files/content
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| download | query | Return as an attachment when 1. | No | string |
|
|
|
|
|
| path | query | Skill file path relative to the Skill root. | Yes | string |
|
|
|
|
|
| version_id | query | Optional published version ID. Omit for current draft. | No | string |
|
|
|
|
|
| skill_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Skill file content | **application/json**: [BinaryFileResponse](#binaryfileresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [GET] /workspaces/current/skills/{skill_id}/files/preview
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| path | query | Skill file path relative to the Skill root. | Yes | string |
|
|
|
|
|
| version_id | query | Optional published version ID. Omit for current draft. | No | string |
|
|
|
|
|
| skill_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Skill file text preview | **application/json**: [SkillFilePreviewResponse](#skillfilepreviewresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [POST] /workspaces/current/skills/{skill_id}/publish
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| skill_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Request Body
|
|
|
|
|
|
|
|
|
|
| Required | Schema |
|
|
|
|
|
| -------- | ------ |
|
|
|
|
|
| Yes | **application/json**: [SkillPublishPayload](#skillpublishpayload)<br> |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Skill published | **application/json**: [SkillVersionResponse](#skillversionresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [GET] /workspaces/current/skills/{skill_id}/references
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| skill_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Skill references | **application/json**: [SkillReferenceListResponse](#skillreferencelistresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [POST] /workspaces/current/skills/{skill_id}/restore
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| skill_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Request Body
|
|
|
|
|
|
|
|
|
|
| Required | Schema |
|
|
|
|
|
| -------- | ------ |
|
|
|
|
|
| Yes | **application/json**: [SkillRestorePayload](#skillrestorepayload)<br> |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Skill version restored | **application/json**: [SkillVersionResponse](#skillversionresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [GET] /workspaces/current/skills/{skill_id}/versions
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| skill_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Skill versions | **application/json**: [SkillVersionListResponse](#skillversionlistresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [DELETE] /workspaces/current/skills/{skill_id}/versions/{version_id}
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| skill_id | path | | Yes | string |
|
|
|
|
|
| version_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Skill version deleted | **application/json**: [SkillVersionDeleteResponse](#skillversiondeleteresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [GET] /workspaces/current/skills/{skill_id}/versions/{version_id}
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| skill_id | path | | Yes | string |
|
|
|
|
|
| version_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Skill version detail | **application/json**: [SkillVersionDetailResponse](#skillversiondetailresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [PATCH] /workspaces/current/skills/{skill_id}/versions/{version_id}
|
|
|
|
|
#### Parameters
|
|
|
|
|
|
|
|
|
|
| Name | Located in | Description | Required | Schema |
|
|
|
|
|
| ---- | ---------- | ----------- | -------- | ------ |
|
|
|
|
|
| skill_id | path | | Yes | string |
|
|
|
|
|
| version_id | path | | Yes | string |
|
|
|
|
|
|
|
|
|
|
#### Request Body
|
|
|
|
|
|
|
|
|
|
| Required | Schema |
|
|
|
|
|
| -------- | ------ |
|
|
|
|
|
| Yes | **application/json**: [SkillVersionUpdatePayload](#skillversionupdatepayload)<br> |
|
|
|
|
|
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
| Code | Description | Schema |
|
|
|
|
|
| ---- | ----------- | ------ |
|
|
|
|
|
| 200 | Skill version updated | **application/json**: [SkillVersionResponse](#skillversionresponse)<br> |
|
|
|
|
|
|
|
|
|
|
### [GET] /workspaces/current/tool-labels
|
|
|
|
|
#### Responses
|
|
|
|
|
|
|
|
|
|
@ -14709,6 +15076,37 @@ Visibility and lifecycle scope of an Agent record.
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| result | string | | Yes |
|
|
|
|
|
|
|
|
|
|
#### AgentSkillBindingItemResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| description | string | | Yes |
|
|
|
|
|
| display_name | string | | Yes |
|
|
|
|
|
| file_count | integer | | Yes |
|
|
|
|
|
| icon | string | | Yes |
|
|
|
|
|
| id | string | | Yes |
|
|
|
|
|
| latest_published_at | integer | | No |
|
|
|
|
|
| latest_published_version_id | string | | No |
|
|
|
|
|
| name | string | | Yes |
|
|
|
|
|
| priority | integer | | Yes |
|
|
|
|
|
| status | string | | Yes |
|
|
|
|
|
| tags | [ string ] | | No |
|
|
|
|
|
| updated_at | integer | | Yes |
|
|
|
|
|
|
|
|
|
|
#### AgentSkillBindingsPayload
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| skill_ids | [ string ] | Ordered Skill IDs bound to the Agent. | No |
|
|
|
|
|
|
|
|
|
|
#### AgentSkillBindingsResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| agent_id | string | | Yes |
|
|
|
|
|
| data | [ [AgentSkillBindingItemResponse](#agentskillbindingitemresponse) ] | | No |
|
|
|
|
|
| skill_ids | [ string ] | | No |
|
|
|
|
|
|
|
|
|
|
#### AgentSkillRefConfig
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
@ -21665,6 +22063,186 @@ Simple provider entity response.
|
|
|
|
|
| title | string | | Yes |
|
|
|
|
|
| use_icon_as_answer_icon | boolean | | Yes |
|
|
|
|
|
|
|
|
|
|
#### SkillAssistAttachmentPayload
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| mime_type | string | | No |
|
|
|
|
|
| name | string | | Yes |
|
|
|
|
|
| size | integer | | No |
|
|
|
|
|
| tool_file_id | string | | Yes |
|
|
|
|
|
|
|
|
|
|
#### SkillAssistMessagePayload
|
|
|
|
|
|
|
|
|
|
One user message and optional uploaded context for the read-only Skill Authoring assistant.
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| attachments | [ [SkillAssistAttachmentPayload](#skillassistattachmentpayload) ] | | No |
|
|
|
|
|
| message | string | | Yes |
|
|
|
|
|
| model | [SkillAssistModelPayload](#skillassistmodelpayload) | | No |
|
|
|
|
|
|
|
|
|
|
#### SkillAssistModelPayload
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| model | string | | Yes |
|
|
|
|
|
| model_settings | object | | No |
|
|
|
|
|
| plugin_id | string | | No |
|
|
|
|
|
| provider | string | | Yes |
|
|
|
|
|
|
|
|
|
|
#### SkillCreatePayload
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| description | string | | No |
|
|
|
|
|
| display_name | string | | No |
|
|
|
|
|
| icon | string, <br>**Default:** 📄 | | No |
|
|
|
|
|
| name | string | | No |
|
|
|
|
|
| tags | [ string ] | | No |
|
|
|
|
|
|
|
|
|
|
#### SkillDeletePayload
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| confirmation_name | string | Required when deleting a referenced Skill. Must match the Skill name. | No |
|
|
|
|
|
|
|
|
|
|
#### SkillDeleteResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| deleted | boolean | | Yes |
|
|
|
|
|
| id | string | | Yes |
|
|
|
|
|
|
|
|
|
|
#### SkillDetailResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| created_at | integer | | Yes |
|
|
|
|
|
| created_by | string | | No |
|
|
|
|
|
| created_by_name | string | | No |
|
|
|
|
|
| description | string | | Yes |
|
|
|
|
|
| display_name | string | | Yes |
|
|
|
|
|
| files | [ [SkillFileResponse](#skillfileresponse) ] | | No |
|
|
|
|
|
| icon | string | | Yes |
|
|
|
|
|
| id | string | | Yes |
|
|
|
|
|
| latest_published_version_id | string | | No |
|
|
|
|
|
| name | string | | Yes |
|
|
|
|
|
| name_manually_edited | boolean | | No |
|
|
|
|
|
| reference_count | integer | | No |
|
|
|
|
|
| tags | [ string ] | | No |
|
|
|
|
|
| updated_at | integer | | Yes |
|
|
|
|
|
| updated_by | string | | No |
|
|
|
|
|
| updated_by_name | string | | No |
|
|
|
|
|
| visibility | string | | Yes |
|
|
|
|
|
|
|
|
|
|
#### SkillDraftFileOperation
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| SkillDraftFileOperation | string | | |
|
|
|
|
|
|
|
|
|
|
#### SkillDraftFileOperationPayload
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| content | string | | No |
|
|
|
|
|
| expected_updated_at | integer | | No |
|
|
|
|
|
| hash | string | | No |
|
|
|
|
|
| mime_type | string | | No |
|
|
|
|
|
| operation | [SkillDraftFileOperation](#skilldraftfileoperation) | | Yes |
|
|
|
|
|
| path | string | | Yes |
|
|
|
|
|
| size | integer | | No |
|
|
|
|
|
| target_path | string | | No |
|
|
|
|
|
| tool_file_id | string | | No |
|
|
|
|
|
|
|
|
|
|
#### SkillDraftTreeItemPayload
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| content | string | | No |
|
|
|
|
|
| hash | string | | No |
|
|
|
|
|
| kind | [SkillFileKind](#skillfilekind) | | No |
|
|
|
|
|
| mime_type | string | | No |
|
|
|
|
|
| path | string | | Yes |
|
|
|
|
|
| size | integer | | No |
|
|
|
|
|
| storage | [SkillFileStorage](#skillfilestorage) | | No |
|
|
|
|
|
| tool_file_id | string | | No |
|
|
|
|
|
|
|
|
|
|
#### SkillDraftTreePayload
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| expected_updated_at | integer | | No |
|
|
|
|
|
| files | [ [SkillDraftTreeItemPayload](#skilldrafttreeitempayload) ] | | No |
|
|
|
|
|
|
|
|
|
|
#### SkillFileKind
|
|
|
|
|
|
|
|
|
|
Draft file entry kind.
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| SkillFileKind | string | Draft file entry kind. | |
|
|
|
|
|
|
|
|
|
|
#### SkillFilePreviewResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| content | string | | Yes |
|
|
|
|
|
| hash | string | | Yes |
|
|
|
|
|
| mime_type | string | | Yes |
|
|
|
|
|
| path | string | | Yes |
|
|
|
|
|
| size | integer | | Yes |
|
|
|
|
|
|
|
|
|
|
#### SkillFileQuery
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| path | string | Skill file path relative to the Skill root. | Yes |
|
|
|
|
|
| version_id | string | Optional published version ID. Omit for current draft. | No |
|
|
|
|
|
|
|
|
|
|
#### SkillFileResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| content | string | | No |
|
|
|
|
|
| hash | string | | No |
|
|
|
|
|
| id | string | | No |
|
|
|
|
|
| kind | string | | Yes |
|
|
|
|
|
| mime_type | string | | No |
|
|
|
|
|
| path | string | | Yes |
|
|
|
|
|
| size | integer | | No |
|
|
|
|
|
| storage | string | | No |
|
|
|
|
|
| tool_file_id | string | | No |
|
|
|
|
|
|
|
|
|
|
#### SkillFileStorage
|
|
|
|
|
|
|
|
|
|
How a draft file's content is stored.
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| SkillFileStorage | string | How a draft file's content is stored. | |
|
|
|
|
|
|
|
|
|
|
#### SkillFileUploadResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| hash | string | | Yes |
|
|
|
|
|
| id | string | | Yes |
|
|
|
|
|
| mime_type | string | | Yes |
|
|
|
|
|
| name | string | | Yes |
|
|
|
|
|
| size | integer | | Yes |
|
|
|
|
|
|
|
|
|
|
#### SkillListResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| data | [ [SkillResponse](#skillresponse) ] | | No |
|
|
|
|
|
| has_more | boolean | | No |
|
|
|
|
|
| limit | integer, <br>**Default:** 20 | | No |
|
|
|
|
|
| page | integer, <br>**Default:** 1 | | No |
|
|
|
|
|
| total | integer | | No |
|
|
|
|
|
|
|
|
|
|
#### SkillManifest
|
|
|
|
|
|
|
|
|
|
Validated metadata extracted from a Skill package.
|
|
|
|
|
@ -21678,6 +22256,91 @@ Validated metadata extracted from a Skill package.
|
|
|
|
|
| name | string | | Yes |
|
|
|
|
|
| size | integer | | Yes |
|
|
|
|
|
|
|
|
|
|
#### SkillMetadataPayload
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| display_name | string | | No |
|
|
|
|
|
| expected_updated_at | integer | | No |
|
|
|
|
|
| icon | string | | No |
|
|
|
|
|
| tags | [ string ] | | No |
|
|
|
|
|
|
|
|
|
|
#### SkillPublishPayload
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| publish_note | string | | No |
|
|
|
|
|
| version_name | string | | No |
|
|
|
|
|
|
|
|
|
|
#### SkillReferenceListResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| data | [ [SkillReferenceResponse](#skillreferenceresponse) ] | | No |
|
|
|
|
|
|
|
|
|
|
#### SkillReferenceResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| agent_icon | string | | No |
|
|
|
|
|
| agent_icon_background | string | | No |
|
|
|
|
|
| agent_icon_type | string | | No |
|
|
|
|
|
| agent_id | string | | Yes |
|
|
|
|
|
| app_id | string | | No |
|
|
|
|
|
| display_name | string | | Yes |
|
|
|
|
|
| name | string | | Yes |
|
|
|
|
|
| node_id | string | | No |
|
|
|
|
|
| node_name | string | | No |
|
|
|
|
|
| type | string | | Yes |
|
|
|
|
|
| workflow_icon | string | | No |
|
|
|
|
|
| workflow_icon_background | string | | No |
|
|
|
|
|
| workflow_icon_type | string | | No |
|
|
|
|
|
| workflow_id | string | | No |
|
|
|
|
|
| workflow_name | string | | No |
|
|
|
|
|
| workflow_version | string | | No |
|
|
|
|
|
|
|
|
|
|
#### SkillResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| created_at | integer | | Yes |
|
|
|
|
|
| created_by | string | | No |
|
|
|
|
|
| created_by_name | string | | No |
|
|
|
|
|
| description | string | | Yes |
|
|
|
|
|
| display_name | string | | Yes |
|
|
|
|
|
| icon | string | | Yes |
|
|
|
|
|
| id | string | | Yes |
|
|
|
|
|
| latest_published_version_id | string | | No |
|
|
|
|
|
| name | string | | Yes |
|
|
|
|
|
| name_manually_edited | boolean | | No |
|
|
|
|
|
| reference_count | integer | | No |
|
|
|
|
|
| tags | [ string ] | | No |
|
|
|
|
|
| updated_at | integer | | Yes |
|
|
|
|
|
| updated_by | string | | No |
|
|
|
|
|
| updated_by_name | string | | No |
|
|
|
|
|
| visibility | string | | Yes |
|
|
|
|
|
|
|
|
|
|
#### SkillRestorePayload
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| publish_note | string | | No |
|
|
|
|
|
| version_id | string | | Yes |
|
|
|
|
|
| version_name | string | | No |
|
|
|
|
|
|
|
|
|
|
#### SkillTagListResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| data | [ [SkillTagResponse](#skilltagresponse) ] | | No |
|
|
|
|
|
|
|
|
|
|
#### SkillTagResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| count | integer | | Yes |
|
|
|
|
|
| tag | string | | Yes |
|
|
|
|
|
|
|
|
|
|
#### SkillToolInferenceResult
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
@ -21686,6 +22349,60 @@ Validated metadata extracted from a Skill package.
|
|
|
|
|
| inferable | boolean | | Yes |
|
|
|
|
|
| reason | string | | No |
|
|
|
|
|
|
|
|
|
|
#### SkillVersionDeleteResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| deleted | boolean | | Yes |
|
|
|
|
|
| id | string | | Yes |
|
|
|
|
|
| latest_published_version_id | string | | No |
|
|
|
|
|
|
|
|
|
|
#### SkillVersionDetailResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| archive_size | integer | | Yes |
|
|
|
|
|
| created_at | integer | | Yes |
|
|
|
|
|
| files | [ [SkillFileResponse](#skillfileresponse) ] | | No |
|
|
|
|
|
| hash_code | string | | Yes |
|
|
|
|
|
| id | string | | Yes |
|
|
|
|
|
| is_latest | boolean | | No |
|
|
|
|
|
| publish_note | string | | Yes |
|
|
|
|
|
| published_by | string | | No |
|
|
|
|
|
| published_by_name | string | | No |
|
|
|
|
|
| skill_id | string | | Yes |
|
|
|
|
|
| version_name | string | | Yes |
|
|
|
|
|
| version_number | integer | | Yes |
|
|
|
|
|
|
|
|
|
|
#### SkillVersionListResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| data | [ [SkillVersionResponse](#skillversionresponse) ] | | No |
|
|
|
|
|
|
|
|
|
|
#### SkillVersionResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| archive_size | integer | | Yes |
|
|
|
|
|
| created_at | integer | | Yes |
|
|
|
|
|
| hash_code | string | | Yes |
|
|
|
|
|
| id | string | | Yes |
|
|
|
|
|
| is_latest | boolean | | No |
|
|
|
|
|
| publish_note | string | | Yes |
|
|
|
|
|
| published_by | string | | No |
|
|
|
|
|
| published_by_name | string | | No |
|
|
|
|
|
| skill_id | string | | Yes |
|
|
|
|
|
| version_name | string | | Yes |
|
|
|
|
|
| version_number | integer | | Yes |
|
|
|
|
|
|
|
|
|
|
#### SkillVersionUpdatePayload
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| publish_note | string | | No |
|
|
|
|
|
| version_name | string | | No |
|
|
|
|
|
|
|
|
|
|
#### SnippetDependencyCheckResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
@ -22153,7 +22870,7 @@ Non-sensitive bootstrap snapshot exposed before Console or Web authentication.
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| keyword | string | Search keyword | No |
|
|
|
|
|
| type | string, <br>**Available values:** "", "app", "knowledge", "snippet" | Tag type filter<br>*Enum:* `""`, `"app"`, `"knowledge"`, `"snippet"` | No |
|
|
|
|
|
| type | [TagType](#tagtype)<br>string | Tag type filter | No |
|
|
|
|
|
|
|
|
|
|
#### TagListResponse
|
|
|
|
|
|
|
|
|
|
@ -24339,6 +25056,15 @@ Workflow tool configuration
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| permission_keys | [ string ] | | No |
|
|
|
|
|
|
|
|
|
|
#### WorkspaceSkillsQuery
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
| ---- | ---- | ----------- | -------- |
|
|
|
|
|
| keyword | string | Search keyword matching skill name or description. | No |
|
|
|
|
|
| limit | integer, <br>**Default:** 20 | Number of items per page. | No |
|
|
|
|
|
| page | integer, <br>**Default:** 1 | Page number. | No |
|
|
|
|
|
| tag | [ string ] | Skill tag filters. Repeat the parameter for multiple tags. | No |
|
|
|
|
|
|
|
|
|
|
#### WorkspaceTenantResultResponse
|
|
|
|
|
|
|
|
|
|
| Name | Type | Description | Required |
|
|
|
|
|
|