Skip to main content
GET
/
categories
Get category definitions
curl --request GET \
  --url http://localhost:5173/api/flowdrop/categories \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "name": "triggers",
      "label": "Triggers",
      "icon": "mdi:lightning-bolt",
      "color": "var(--fd-node-cyan)",
      "weight": 0
    },
    {
      "name": "inputs",
      "label": "Inputs",
      "icon": "mdi:arrow-down-circle",
      "color": "var(--fd-node-emerald)",
      "weight": 1
    },
    {
      "name": "ml",
      "label": "Machine Learning",
      "icon": "mdi:brain",
      "color": "var(--fd-node-purple)",
      "description": "Custom ML processing nodes",
      "weight": 20
    }
  ],
  "message": "Categories loaded successfully"
}

Authorizations

Authorization
string
header
required

JWT token for authentication

Response

Categories retrieved successfully

success
boolean

Whether the request was successful

data
object[]

Response data (type varies by endpoint)

message
string

Response message

error
string

Error message (if any)