Skip to main content
GET
/
v1
/
gateway
/
custom-nodes
/
registry
JavaScript
import Triglit from 'triglit';

const client = new Triglit({
  apiKey: 'My API Key',
});

const response = await client.customNodes.retrieveRegistry();

console.log(response.nodes);
{
  "nodes": [
    {
      "type": "input",
      "name": "User Input",
      "description": "Waits for user input and pauses workflow execution",
      "version": "1.0.0",
      "isBuiltIn": true,
      "inputSchema": {
        "data": {
          "type": "any",
          "description": "Input data to process",
          "required": true
        }
      },
      "outputSchema": {
        "result": {
          "type": "object",
          "description": "Processing result",
          "properties": {
            "success": {
              "type": "boolean"
            },
            "data": {
              "type": "any"
            }
          }
        }
      },
      "configSchema": {
        "timeout": {
          "type": "number",
          "description": "Timeout in milliseconds",
          "min": 1000,
          "max": 300000,
          "default": 30000
        },
        "options": {
          "type": "object",
          "description": "Additional options",
          "properties": {
            "retryOnError": {
              "type": "boolean",
              "default": false
            },
            "maxRetries": {
              "type": "number",
              "min": 0,
              "max": 5
            }
          }
        }
      },
      "canPause": false
    }
  ],
  "total": 7
}

Authorizations

X-API-Key
string
header
required

Headers

X-API-Key
string
required

Response

nodes
object[]
required
total
number
required
Example: