Skip to main content
GET
/
v1
/
workflows
/
{workflow_id}
/
nodes
List Workflow Nodes
curl --request GET \
  --url https://api.xpander.ai/v1/workflows/{workflow_id}/nodes \
  --header 'x-api-key: <api-key>'
[
  {
    "id": "<string>",
    "type": "<string>",
    "name": "<string>",
    "next_node_ids": [],
    "asset_id": "<string>",
    "connection_id": "<string>",
    "operation_id": "<string>",
    "target_agent_id": "<string>"
  }
]

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

workflow_id
string
required

Response

Successful Response

id
string
required

Node id (use to update/remove the node).

type
string
required

Node type (action, agent, classifier, ...).

name
string | null

Node name.

next_node_ids
string[]

Ids of nodes that run after this one.

asset_id
string | null

Referenced asset id for action/agent nodes.

connection_id
string | null

Connection id parsed from an action node's asset_id.

operation_id
string | null

Operation catalog id parsed from an action node's asset_id.

target_agent_id
string | null

Agent id for agent nodes.