Get node type by ID
curl --request GET \
--url http://localhost:5173/api/flowdrop/nodes/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:5173/api/flowdrop/nodes/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:5173/api/flowdrop/nodes/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "5173",
CURLOPT_URL => "http://localhost:5173/api/flowdrop/nodes/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:5173/api/flowdrop/nodes/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://localhost:5173/api/flowdrop/nodes/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:5173/api/flowdrop/nodes/{id}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "calculator",
"name": "Calculator",
"description": "Perform mathematical operations on input data",
"category": "processing",
"version": "1.0.0",
"inputs": [
{
"id": "json",
"name": "JSON Response",
"dataType": "mixed",
"required": false,
"description": "Parsed JSON response from the HTTP request",
"defaultValue": "<unknown>",
"schema": {
"type": "object",
"properties": {
"user": {
"type": "object",
"title": "User",
"description": "User information",
"properties": {
"id": {
"type": "integer",
"description": "User ID"
},
"name": {
"type": "string",
"description": "User full name"
},
"email": {
"type": "string",
"description": "User email address"
},
"address": {
"type": "object",
"title": "Address",
"properties": {
"street": {
"type": "string"
},
"city": {
"type": "string"
},
"country": {
"type": "string"
}
}
}
}
},
"orders": {
"type": "array",
"title": "Orders",
"description": "List of user orders",
"items": {
"type": "object",
"properties": {
"order_id": {
"type": "string"
},
"product_name": {
"type": "string"
},
"quantity": {
"type": "integer"
},
"price": {
"type": "number"
}
}
}
}
}
}
}
],
"outputs": [
{
"id": "json",
"name": "JSON Response",
"dataType": "mixed",
"required": false,
"description": "Parsed JSON response from the HTTP request",
"defaultValue": "<unknown>",
"schema": {
"type": "object",
"properties": {
"user": {
"type": "object",
"title": "User",
"description": "User information",
"properties": {
"id": {
"type": "integer",
"description": "User ID"
},
"name": {
"type": "string",
"description": "User full name"
},
"email": {
"type": "string",
"description": "User email address"
},
"address": {
"type": "object",
"title": "Address",
"properties": {
"street": {
"type": "string"
},
"city": {
"type": "string"
},
"country": {
"type": "string"
}
}
}
}
},
"orders": {
"type": "array",
"title": "Orders",
"description": "List of user orders",
"items": {
"type": "object",
"properties": {
"order_id": {
"type": "string"
},
"product_name": {
"type": "string"
},
"quantity": {
"type": "integer"
},
"price": {
"type": "number"
}
}
}
}
}
}
}
],
"supportedTypes": [],
"icon": "mdi:calculator",
"color": "#3b82f6",
"badge": "API",
"portDataType": "trigger",
"configSchema": {
"type": "object",
"properties": {},
"required": [
"<string>"
],
"additionalProperties": false
},
"tags": [
"math",
"calculation",
"processing"
],
"formats": [
"agentspec"
],
"extensions": {
"ui": {
"hideUnconnectedHandles": true,
"style": {
"opacity": 0.8
}
},
"agentspec:component_type": "llm_node",
"myapp:analytics": {
"trackUsage": true,
"customField": "value"
}
}
},
"message": "<string>",
"error": "<string>"
}{
"success": false,
"error": "Resource not found",
"code": "NOT_FOUND"
}{
"success": false,
"error": "Internal server error",
"code": "INTERNAL_ERROR"
}Node Types
Get node type by ID
Retrieve detailed metadata for a specific node type by its unique identifier
GET
/
nodes
/
{id}
Get node type by ID
curl --request GET \
--url http://localhost:5173/api/flowdrop/nodes/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:5173/api/flowdrop/nodes/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:5173/api/flowdrop/nodes/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "5173",
CURLOPT_URL => "http://localhost:5173/api/flowdrop/nodes/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:5173/api/flowdrop/nodes/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://localhost:5173/api/flowdrop/nodes/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:5173/api/flowdrop/nodes/{id}")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "calculator",
"name": "Calculator",
"description": "Perform mathematical operations on input data",
"category": "processing",
"version": "1.0.0",
"inputs": [
{
"id": "json",
"name": "JSON Response",
"dataType": "mixed",
"required": false,
"description": "Parsed JSON response from the HTTP request",
"defaultValue": "<unknown>",
"schema": {
"type": "object",
"properties": {
"user": {
"type": "object",
"title": "User",
"description": "User information",
"properties": {
"id": {
"type": "integer",
"description": "User ID"
},
"name": {
"type": "string",
"description": "User full name"
},
"email": {
"type": "string",
"description": "User email address"
},
"address": {
"type": "object",
"title": "Address",
"properties": {
"street": {
"type": "string"
},
"city": {
"type": "string"
},
"country": {
"type": "string"
}
}
}
}
},
"orders": {
"type": "array",
"title": "Orders",
"description": "List of user orders",
"items": {
"type": "object",
"properties": {
"order_id": {
"type": "string"
},
"product_name": {
"type": "string"
},
"quantity": {
"type": "integer"
},
"price": {
"type": "number"
}
}
}
}
}
}
}
],
"outputs": [
{
"id": "json",
"name": "JSON Response",
"dataType": "mixed",
"required": false,
"description": "Parsed JSON response from the HTTP request",
"defaultValue": "<unknown>",
"schema": {
"type": "object",
"properties": {
"user": {
"type": "object",
"title": "User",
"description": "User information",
"properties": {
"id": {
"type": "integer",
"description": "User ID"
},
"name": {
"type": "string",
"description": "User full name"
},
"email": {
"type": "string",
"description": "User email address"
},
"address": {
"type": "object",
"title": "Address",
"properties": {
"street": {
"type": "string"
},
"city": {
"type": "string"
},
"country": {
"type": "string"
}
}
}
}
},
"orders": {
"type": "array",
"title": "Orders",
"description": "List of user orders",
"items": {
"type": "object",
"properties": {
"order_id": {
"type": "string"
},
"product_name": {
"type": "string"
},
"quantity": {
"type": "integer"
},
"price": {
"type": "number"
}
}
}
}
}
}
}
],
"supportedTypes": [],
"icon": "mdi:calculator",
"color": "#3b82f6",
"badge": "API",
"portDataType": "trigger",
"configSchema": {
"type": "object",
"properties": {},
"required": [
"<string>"
],
"additionalProperties": false
},
"tags": [
"math",
"calculation",
"processing"
],
"formats": [
"agentspec"
],
"extensions": {
"ui": {
"hideUnconnectedHandles": true,
"style": {
"opacity": 0.8
}
},
"agentspec:component_type": "llm_node",
"myapp:analytics": {
"trackUsage": true,
"customField": "value"
}
}
},
"message": "<string>",
"error": "<string>"
}{
"success": false,
"error": "Resource not found",
"code": "NOT_FOUND"
}{
"success": false,
"error": "Internal server error",
"code": "INTERNAL_ERROR"
}Authorizations
BearerAuthSessionAuth
JWT token for authentication
Path Parameters
Node type unique identifier
Example:
"calculator"
Response
Node type details retrieved successfully
Whether the request was successful
Complete metadata for a node type including ports, configuration schema, and extensions.
Dynamic Port Support
Nodes can support user-defined dynamic ports through their configSchema:
- Add
dynamicInputsarray property to allow custom input handles - Add
dynamicOutputsarray property to allow custom output handles - Add
branchesarray property for gateway nodes with conditional paths
Extensions Support
The extensions property allows storing UI settings and 3rd party data:
- Use
extensions.ui.hideUnconnectedHandlesto hide unconnected ports by default - Use namespaced keys for custom integrations (e.g., "myapp:settings")
Show child attributes
Show child attributes
Response message
Error message (if any)
Was this page helpful?
⌘I