Query skill list¶
Lists current workspace skills and readable system default skills. System skills are read-only resources.
GET $CLOUDSIGMA_API_BASE/workspaces/{workspace_id}/skills
Before you call¶
Configure the CloudSigma regional endpoint and authentication before calling. The endpoint, credentials, workspace, and resource IDs must belong to the same region. Prepare a personal access token and target workspace ID that can access the target workspace.
Request parameters¶
curl "$CLOUDSIGMA_API_BASE/workspaces/$WORKSPACE_ID/skills?status=active&limit=20&offset=0" \
-H "X-API-Key: $CLOUDSIGMA_API_KEY" \
-H "X-Workspace-ID: $WORKSPACE_ID"
The system skill workspace_id is system.
Path parameters
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Yes |
Current workspace ID. |
Query parameters
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
No |
Query catalog: |
|
string |
No |
Filter by status, source type, classification or stage. |
|
string |
No |
Filter by status, source type, classification or stage. |
|
string |
No |
Filter by status, source type, classification or stage. |
|
string |
No |
Filter by status, source type, classification or stage. |
|
string |
No |
Search by skill text. |
|
string |
No |
Tag filter value. It can be passed in repeatedly, such as |
|
integer |
No |
Quantity per page. Default |
|
integer |
No |
Starting offset. Negative numbers are handled as |
Successful response¶
{
"code": 0,
"data": {
"items": [
{
"id": "skill_01",
"workspace_id": "ws_01",
"name": "摘要技能",
"description": "总结输入内容。",
"status": "active",
"source_type": "custom",
"version": 2,
"routing_summary": {},
"instruction": {
"body": "总结用户提供的内容。"
},
"requirements": {},
"created_at": "2026-01-02T15:04:05Z",
"updated_at": "2026-01-02T15:04:05Z"
}
],
"total": 1,
"limit": 20,
"offset": 0
}
}
Field |
Type |
Description |
|---|---|---|
|
integer |
|
|
object |
The result of this request. |
|
array |
Result list. |
|
object |
Extended comments. Can be omitted if empty or not set. |
|
string |
classification. Can be omitted if empty or not set. |
|
string |
Creation time. Use RFC 3339 format. Can be omitted if empty or not set. |
|
string |
Creator ID. Can be omitted if empty or not set. |
|
string |
Description. Can be omitted if empty or not set. |
|
string |
Icon reference. Can be omitted if empty or not set. |
|
string |
Skill ID. Can be omitted if empty or not set. |
|
object |
Skill instructions. Can be omitted if empty or not set. Returns an empty object if there are no subfields. |
|
string |
Instruction text. Can be omitted if empty or not set. |
|
object |
JSON Schema of directive variables. Can be omitted if empty or not set. |
|
object |
Extension tag. Can be omitted if empty or not set. |
|
object |
Market metadata. Can be omitted if empty or not set. |
|
object |
Extended metadata. Can be omitted if empty or not set. |
|
string |
Name. Can be omitted if empty or not set. |
|
object |
Output convention. Can be omitted if empty or not set. |
|
object |
JSON Schema of skill input parameters. Can be omitted if empty or not set. |
|
string |
use stage. Can be omitted if empty or not set. |
|
string |
Pipeline reference. Can be omitted if empty or not set. |
|
object |
Skill dependent requirements. Can be omitted if empty or not set. Returns an empty object if there are no subfields. |
|
string |
Description. Can be omitted if empty or not set. |
|
array |
Document input requirements. Can be omitted if empty or not set. |
|
string |
Description. Can be omitted if empty or not set. |
|
array |
Accepted file media types. Can be omitted if empty or not set. |
|
string |
Name. Can be omitted if empty or not set. |
|
boolean |
Is it required? Can be omitted if empty or not set. |
|
array |
knowledge base role requirements. Can be omitted if empty or not set. |
|
string |
Description. Can be omitted if empty or not set. |
|
boolean |
Is it required? Can be omitted if empty or not set. |
|
string |
knowledge base role. Can be omitted if empty or not set. |
|
array |
Model capability requirements. Can be omitted if empty or not set. |
|
array |
Dependent skill identifier. Can be omitted if empty or not set. |
|
array |
Dependent tool identifier. Can be omitted if empty or not set. |
|
array |
Tool resource references. Can be omitted if empty or not set. |
|
string |
Description of binding capabilities. Can be omitted if empty or not set. |
|
boolean |
Whether it can be bound. Can be omitted if empty or not set. |
|
string |
Binding source. Can be omitted if empty or not set. |
|
string |
classification. Can be omitted if empty or not set. |
|
object |
Resource allocation. Can be omitted if empty or not set. |
|
string |
Description. Can be omitted if empty or not set. |
|
string |
Display name. Can be omitted if empty or not set. |
|
string |
Reference item ID. Can be omitted if empty or not set. |
|
string |
Tool type. Can be omitted if empty or not set. |
|
boolean |
Is it manageable. Can be omitted if empty or not set. |
|
string |
Name. Can be omitted if empty or not set. |
|
string |
use stage. Can be omitted if empty or not set. |
|
string |
The ID of the referenced object. Can be omitted if empty or not set. |
|
string |
Runtime tool visibility. Can be omitted if empty or not set. |
|
string |
status. Can be omitted if empty or not set. |
|
array |
Supported runtimes. Can be omitted if empty or not set. |
|
string |
The identity of the workspace to which it belongs. Can be omitted if empty or not set. |
|
object |
Skill routing summary. Can be omitted if empty or not set. Returns an empty object if there are no subfields. |
|
array |
Routing example. Can be omitted if empty or not set. |
|
string |
Route summary text. Can be omitted if empty or not set. |
|
string |
Source information. Can be omitted if empty or not set. |
|
string |
Source type. Can be omitted if empty or not set. |
|
string |
status. Can be omitted if empty or not set. |
|
array |
label. Can be omitted if empty or not set. |
|
string |
Last updated time. Use RFC 3339 format. Can be omitted if empty or not set. |
|
string |
Last updated by identifier. Can be omitted if empty or not set. |
|
integer |
Version number. Can be omitted if empty or not set. |
|
string |
The identity of the workspace to which it belongs. Can be omitted if empty or not set. |
|
integer |
The total number of matching records. |
|
integer |
The actual return quantity limit this time. |
|
integer |
Starting offset. |
Error response¶
{
"code": 2,
"message": "<错误信息>"
}
Common HTTP errors
HTTP status code |
error code |
Description |
|---|---|---|
|
|
Common reasons: The workspace or filter parameters are invalid. Recommended Action: Check the path and query parameters. |
|
|
Common Cause: Valid identity credentials are missing. Recommended Action: Check the API Key. |
|
|
Common reasons: The current identity does not have permission to read workspace skills. Recommended Action: Check the workspace authorization. |
|
|
Common reasons: Skill services or authorization dependencies are temporarily unavailable. Recommended Action: Try again later. |