Query the agent workflow binding list¶
Query the binding that associates the workflow node to the agent task template in the workspace.
GET $CLOUDSIGMA_API_BASE/workspaces/{workspace_id}/agent-workflow-bindings
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 and target workspace ID.
Request parameters¶
Replace $WORKSPACE_ID, $CLOUDSIGMA_API_KEY in the example with actual values.
curl "$CLOUDSIGMA_API_BASE/workspaces/$WORKSPACE_ID/agent-workflow-bindings?limit=20&offset=0" \
-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. |
Query parameters
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
No |
Binding status. |
|
string |
No |
workflow ID. |
|
string |
No |
workflow version ID. |
|
string |
No |
Full node path, such as root.prepare. |
|
string |
No |
Association template ID. |
|
integer |
No |
Return the quantity. |
|
integer |
No |
Return to starting position. |
Successful response¶
{
"code": 0,
"data": {
"items": [
{
"id": "binding_01",
"workspace_id": "",
"workflow_id": "wf_01",
"node_id": "root.prepare",
"agent_task_template_id": "template_01",
"status": "active",
"version": 0,
"created_at": "2026-08-21T07:00:00Z",
"updated_at": "2026-08-21T07:00:00Z"
}
],
"total": 1,
"limit": 20,
"offset": 0
}
}
Field |
Type |
Description |
|---|---|---|
|
array of object |
Binding for the current page. |
|
string |
logo. |
|
string |
The workspace ID to which it belongs. |
|
string |
workflow ID. |
|
string |
workflow version ID. |
|
string |
Full node path. |
|
string |
Agent task template ID. |
|
object |
Enter the mapping. |
|
object |
Output mapping. |
|
object |
Failed mapping. |
|
string |
status. Values: |
|
integer |
version. |
|
object |
Tag mapping. |
|
object |
Annotation mapping. |
|
string |
Creator. |
|
string |
Last updated by. |
|
string |
Creation time. RFC 3339 time. |
|
string |
Update time. RFC 3339 time. |
|
integer |
Total number of matches. |
|
integer |
The maximum number of queries for this time. |
|
integer |
The offset of this query. |
Error response¶
{
"code": 2,
"message": "invalid workflow binding filter"
}
Common HTTP errors
HTTP status code |
error code |
Description |
|---|---|---|
|
|
Common reasons: The query parameter is invalid. Recommended Action: Check the filters. |