Query the agent workflow binding details¶
Configure the CloudSigma regional endpoint and authentication before calling. The endpoint, credentials, workspace, and resource IDs must belong to the same region.
Query the binding configuration of a workflow node and agent task template.
GET $CLOUDSIGMA_API_BASE/workspaces/{workspace_id}/agent-workflow-bindings/{binding_id}
Request parameters¶
Replace $WORKSPACE_ID, $BINDING_ID, $CLOUDSIGMA_API_KEY in the example with actual values.
curl "$CLOUDSIGMA_API_BASE/workspaces/$WORKSPACE_ID/agent-workflow-bindings/$BINDING_ID" -H "X-API-Key: $CLOUDSIGMA_API_KEY" -H "X-Workspace-ID: $WORKSPACE_ID"
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Yes |
Target workspace ID. |
|
string |
Yes |
The binding ID to query. |
Successful response¶
{
"code": 0,
"data": {
"id": "binding_01",
"workspace_id": "",
"workflow_id": "wf_01",
"node_id": "root.prepare",
"agent_task_template_id": "template_01",
"input_mapping": {},
"status": "active",
"version": 0,
"created_at": "2026-08-21T07:00:00Z",
"updated_at": "2026-08-21T07:00:00Z"
}
}
Field |
Type |
Description |
|---|---|---|
|
string |
Binding ID. |
|
string |
The workspace ID to which it belongs. |
|
string |
workflow ID. |
|
string |
workflow version ID. |
|
string |
Node ID. |
|
string |
Association template ID. |
|
object |
Mapping of workflow inputs to template inputs. |
|
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. |
Error response¶
Returns HTTP 404/code=3 when the binding does not exist. If the task template referenced during creation does not exist, 404 may also be returned.
{
"code": 3,
"message": "agent workflow binding not found"
}
Common HTTP errors
HTTP status code |
error code |
Description |
|---|---|---|
|
|
Common cause: The binding does not exist. Recommended Action: Check the binding ID and workspace. |