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.

HTTP
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.

Shell
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

workspace_id

string

Yes

Target workspace ID.

binding_id

string

Yes

The binding ID to query.

Successful response

JSON
{
  "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

data.id

string

Binding ID.

data.workspace_id

string

The workspace ID to which it belongs.

data.workflow_id

string

workflow ID.

data.workflow_version_id

string

workflow version ID.

data.node_id

string

Node ID.

data.agent_task_template_id

string

Association template ID.

data.input_mapping

object

Mapping of workflow inputs to template inputs.

data.output_mapping

object

Output mapping.

data.failure_mapping

object

Failed mapping.

data.status

string

status. Values: active, disabled, archived.

data.version

integer

version.

data.labels

object

Tag mapping.

data.annotations

object

Annotation mapping.

data.created_by

string

Creator.

data.updated_by

string

Last updated by.

data.created_at

string

Creation time. RFC 3339 time.

data.updated_at

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.

JSON
{
  "code": 3,
  "message": "agent workflow binding not found"
}

Common HTTP errors

HTTP status code

error code

Description

404

3

Common cause: The binding does not exist. Recommended Action: Check the binding ID and workspace.

Last updated on