UNPKG

n8n-nodes-graphiti

Version:

Graphiti temporal knowledge graph memory for n8n AI agents

49 lines 1.54 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GraphitiApi = void 0; class GraphitiApi { constructor() { this.name = 'graphitiApi'; this.displayName = 'Graphiti API'; this.documentationUrl = 'https://github.com/GoGoButters/Graphiti_n8n_node'; this.properties = [ { displayName: 'API URL', name: 'apiUrl', type: 'string', default: 'http://localhost:8000', placeholder: 'http://192.168.1.98:8000', description: 'Base URL of your Graphiti server', required: true, }, { displayName: 'API Key', name: 'apiKey', type: 'string', typeOptions: { password: true, }, default: '', description: 'API key for Graphiti server authentication', required: true, }, ]; this.authenticate = { type: 'generic', properties: { headers: { 'X-API-KEY': '={{$credentials.apiKey}}', }, }, }; this.test = { request: { baseURL: '={{$credentials.apiUrl}}', url: '/health', method: 'GET', }, }; } } exports.GraphitiApi = GraphitiApi; //# sourceMappingURL=GraphitiApi.credentials.js.map