Query system agent configuration¶
Query the configuration of the specified system agent in the workspace.
GET $CLOUDSIGMA_API_BASE/workspaces/{workspace_id}/system-agent-setups/{agent_id}
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 personal access token, target workspace ID and system agent ID.
Request parameters¶
Replace $WORKSPACE_ID, $AGENT_ID, $CLOUDSIGMA_API_KEY in the example with actual values.
curl "$CLOUDSIGMA_API_BASE/workspaces/$WORKSPACE_ID/system-agent-setups/$AGENT_ID" -H "X-API-Key: $CLOUDSIGMA_API_KEY" -H "X-Workspace-ID: $WORKSPACE_ID"
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Yes |
The workspace ID to which it belongs. |
|
string |
Yes |
System agent ID. |
agent_id only supports github-issue-operator, github-pr-reviewer and ops-agent. GitHub project queries only apply to the first two agents.
Successful response¶
{
"code": 0,
"data": {
"workspace_id": "",
"agent_id": "agent_01",
"name": "",
"description": "",
"definition": {
"agent_id": "",
"name": "",
"description": "",
"channel_slots": [],
"knowledge_slots": []
},
"configured": false,
"enabled": false,
"channels": {},
"knowledge_bases": {},
"model": {},
"callback_rule_enabled": false,
"callback_configured": false,
"callback_enabled": false
}
}
Field |
Type |
Description |
|---|---|---|
|
string |
The workspace ID to which it belongs. |
|
string |
System agent ID. |
|
string |
Name. |
|
string |
Description. |
|
object |
Built-in agent definition. |
|
string |
agent ID. |
|
string |
Name. |
|
string |
Description. |
|
array of object |
Channel slot. |
|
string |
Key. |
|
string |
Name. |
|
string |
Description. |
|
string |
Provider. Values: |
|
string |
Channel type. Values: |
|
boolean |
Whether it is a required slot. |
|
array of object |
knowledge base slot. |
|
string |
Key. |
|
string |
Name. |
|
string |
Description. |
|
boolean |
Whether it is a required slot. |
|
array of string |
List of compatible table names. |
|
object |
GitHub project scope. |
|
string |
Name. |
|
string |
Description. |
|
string |
Channel slot key. |
|
boolean |
Whether it is a required slot. |
|
object |
Operations suite scope. |
|
string |
Name. |
|
string |
Description. |
|
boolean |
Whether it is a required slot. |
|
boolean |
Has it been configured? |
|
boolean |
Whether to enable. |
|
object |
Channel slot configuration. |
|
object or null |
Warehouse name. |
|
string |
logo. |
|
string |
The workspace ID to which it belongs. |
|
string |
Provider. Values: |
|
string |
Channel type. Values: |
|
string |
Name. |
|
string |
Description. |
|
string |
status. Values: |
|
string |
Credentials reference. |
|
string |
callback path. |
|
array of string |
Available management actions. |
|
array of string |
List of tool IDs. |
|
object |
Configuration. |
|
string |
Recent connection test status. Value: |
|
string |
Last connection test time. RFC 3339 time. |
|
string |
Recent connection test errors. |
|
object |
Tag mapping. |
|
string |
Creation time. RFC 3339 time. |
|
string |
Update time. RFC 3339 time. |
|
object or null |
Code analysis slot. |
|
string |
logo. |
|
string |
The workspace ID to which it belongs. |
|
string |
Provider. Values: |
|
string |
Channel type. Values: |
|
string |
Name. |
|
string |
Description. |
|
string |
status. Values: |
|
string |
Credentials reference. |
|
string |
callback path. |
|
array of string |
Available management actions. |
|
array of string |
List of tool IDs. |
|
object |
Configuration. |
|
string |
Recent connection test status. Value: |
|
string |
Last connection test time. RFC 3339 time. |
|
string |
Recent connection test errors. |
|
object |
Tag mapping. |
|
string |
Creation time. RFC 3339 time. |
|
string |
Update time. RFC 3339 time. |
|
object or null |
Personal notification slot. |
|
string |
logo. |
|
string |
The workspace ID to which it belongs. |
|
string |
Provider. Values: |
|
string |
Channel type. Values: |
|
string |
Name. |
|
string |
Description. |
|
string |
status. Values: |
|
string |
Credentials reference. |
|
string |
callback path. |
|
array of string |
Available management actions. |
|
array of string |
List of tool IDs. |
|
object |
Configuration. |
|
string |
Recent connection test status. Value: |
|
string |
Last connection test time. RFC 3339 time. |
|
string |
Recent connection test errors. |
|
object |
Tag mapping. |
|
string |
Creation time. RFC 3339 time. |
|
string |
Update time. RFC 3339 time. |
|
object or null |
Group notification slot. |
|
string |
logo. |
|
string |
The workspace ID to which it belongs. |
|
string |
Provider. Values: |
|
string |
Channel type. Values: |
|
string |
Name. |
|
string |
Description. |
|
string |
status. Values: |
|
string |
Credentials reference. |
|
string |
callback path. |
|
array of string |
Available management actions. |
|
array of string |
List of tool IDs. |
|
object |
Configuration. |
|
string |
Recent connection test status. Value: |
|
string |
Last connection test time. RFC 3339 time. |
|
string |
Recent connection test errors. |
|
object |
Tag mapping. |
|
string |
Creation time. RFC 3339 time. |
|
string |
Update time. RFC 3339 time. |
|
object or null |
Observation slot. |
|
string |
logo. |
|
string |
The workspace ID to which it belongs. |
|
string |
Provider. Values: |
|
string |
Channel type. Values: |
|
string |
Name. |
|
string |
Description. |
|
string |
status. Values: |
|
string |
Credentials reference. |
|
string |
callback path. |
|
array of string |
Available management actions. |
|
array of string |
List of tool IDs. |
|
object |
Configuration. |
|
string |
Recent connection test status. Value: |
|
string |
Last connection test time. RFC 3339 time. |
|
string |
Recent connection test errors. |
|
object |
Tag mapping. |
|
string |
Creation time. RFC 3339 time. |
|
string |
Update time. RFC 3339 time. |
|
object or null |
Kubernetes trough. |
|
string |
logo. |
|
string |
The workspace ID to which it belongs. |
|
string |
Provider. Values: |
|
string |
Channel type. Values: |
|
string |
Name. |
|
string |
Description. |
|
string |
status. Values: |
|
string |
Credentials reference. |
|
string |
callback path. |
|
array of string |
Available management actions. |
|
array of string |
List of tool IDs. |
|
object |
Configuration. |
|
string |
Recent connection test status. Value: |
|
string |
Last connection test time. RFC 3339 time. |
|
string |
Recent connection test errors. |
|
object |
Tag mapping. |
|
string |
Creation time. RFC 3339 time. |
|
string |
Update time. RFC 3339 time. |
|
object |
knowledge base reference. |
|
object |
model. |
|
string |
Model configuration reference. |
|
string |
Default model. |
|
object |
Parameter override. |
|
array of object |
Skill reference. |
|
string |
logo. |
|
string |
The workspace ID to which it belongs. |
|
string |
category. Values: |
|
string |
status. |
|
string |
Resource ID. |
|
string |
Name. |
|
string |
Display name. |
|
string |
Description. |
|
string |
Resource category. |
|
string |
execution phase. |
|
boolean |
Whether it can be bound. |
|
string |
Binding availability instructions. |
|
array of string |
Supported runtime environments. |
|
object |
Configuration. |
|
string |
Run tool visibility. |
|
string |
Binding source. |
|
boolean |
Is it manageable. |
|
object |
GitHub project scope. |
|
string |
GitHub project ID. |
|
string |
owner. |
|
string |
Owner type. |
|
integer |
number. |
|
string |
title. |
|
string |
address. |
|
string |
host. |
|
array of object |
Operation and maintenance inspection items. |
|
string |
Operations suite ID. |
|
string |
Display name. |
|
string |
Kubernetes namespace. |
|
string |
Log namespace. |
|
array of string |
List of containers. |
|
boolean |
Whether to enable. |
|
object |
Coordinate tasks. |
|
string |
logo. |
|
string |
status. Values: |
|
string |
Cron expressions. |
|
object |
Capacity inspection task. |
|
string |
logo. |
|
string |
status. Values: |
|
string |
Cron expressions. |
|
string |
Automation task ID. |
|
string |
Automation task status. Values: |
|
string |
Callback rule ID. |
|
boolean |
Whether the callback rule is enabled. |
|
boolean |
Whether the callback has been configured. |
|
boolean |
Whether callback is enabled. |
Error response¶
Does not exist and returns HTTP 404/code=3. Permission denied returns HTTP 403/code=5. The string error codes of the authentication layer need to be parsed separately from the numeric error codes of the business layer.
{
"code": 3,
"message": "not found"
}
data.agent_id in the response is the system agent ID. Use this ID to continue updating the configuration or query related GitHub projects.