Get node types
Gets all available node types with their metadata. This enables clients to render the node editor without hardcoded knowledge of specific node types. The response includes port definitions, categories, display names, and all other information needed to render and validate nodes. This endpoint is cacheable - node types only change between server versions.
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
category?|Optional filter by category ID (references CategoryDefinition.id). Examples: "triggers", "actions", "math". If empty, returns all node types.
include_deprecated*booleanWhether to include deprecated node types. Default is false.
Response containing all available node types.
application/json- response
Response containing all available node types.
nodeTypes*array<>List of all node type definitions. Clients can use this to render any node and validate connections.
categories*array<>List of all categories with their metadata. Useful for building category filters and palette sections in the UI.
portTypeMetadata*array<>Metadata for each port type including colors and compatibility. Clients should use this instead of hardcoded port type info.
curl -X GET 'http://127.0.0.1:38765/v1/scripts/node-types?include_deprecated=true'{
"nodeTypes": [
{
"type": "string",
"displayName": "string",
"description": "string",
"category": "string",
"isTrigger": true,
"inputs": [
{
"id": "string",
"displayName": "string",
"portType": "PORT_TYPE_ANY",
"required": true,
"defaultValue": "string",
"description": "string",
"elementType": "PORT_TYPE_ANY",
"multiInput": true,
"acceptedTypes": [
"PORT_TYPE_ANY"
],
"inferTypeFrom": "string",
"typeDescriptor": {
"simple": "PORT_TYPE_ANY",
"parameterized": {
"base": "PORT_TYPE_ANY",
"params": [
{}
]
},
"typeVariable": "string"
}
}
],
"outputs": [
{
"id": "string",
"displayName": "string",
"portType": "PORT_TYPE_ANY",
"required": true,
"defaultValue": "string",
"description": "string",
"elementType": "PORT_TYPE_ANY",
"multiInput": true,
"acceptedTypes": [
"PORT_TYPE_ANY"
],
"inferTypeFrom": "string",
"typeDescriptor": {
"simple": "PORT_TYPE_ANY",
"parameterized": {
"base": "PORT_TYPE_ANY",
"params": [
{}
]
},
"typeVariable": "string"
}
}
],
"icon": "string",
"color": "string",
"keywords": [
"string"
],
"deprecated": true,
"deprecationMessage": "string",
"isLayoutNode": true,
"supportsMuting": true,
"supportsPreview": true,
"isExpensive": true
}
],
"categories": [
{
"id": "string",
"displayName": "string",
"icon": "string",
"description": "string",
"sortOrder": 0
}
],
"portTypeMetadata": [
{
"portType": "PORT_TYPE_ANY",
"color": "string",
"displayName": "string",
"compatibleFrom": [
"PORT_TYPE_ANY"
],
"handleShape": "HANDLE_SHAPE_CIRCLE",
"edgeStyle": "EDGE_STYLE_DEFAULT"
}
]
}Was this page helpful?
Delete script DELETE
Permanently deletes a script. If the script is currently active, it will be deactivated first. This operation cannot be undone.
Get script registry data GET
Gets Minecraft registry data for autocomplete and validation. Returns blocks, entities, items, and biomes that can be used in scripts. This endpoint is cacheable - registry data only changes between server versions.
