UNPKG

n8n-nodes-octagon

Version:

Professional n8n node for Octagon AI Agents - Access 15 specialized financial and market research AI agents including SEC filings, earnings transcripts, stock data, and private market intelligence

61 lines 2.05 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OctagonApi = void 0; /** * Professional credential configuration for Octagon API * Handles secure authentication with Octagon's AI Agents API * * @author Octagon <ken@octagonai.co> * @version 1.0.4 * @since 2024-01-15 */ class OctagonApi { constructor() { this.name = 'octagonApi'; this.displayName = 'Octagon API'; // eslint-disable-next-line n8n-nodes-base/cred-class-field-documentation-url-not-http-url this.documentationUrl = 'httpsDocsOctagonagentsCom'; this.properties = [ { displayName: 'Get your free Octagon API Key at: <a href="https://app.octagonai.co/signup" target="_blank">app.octagonai.co/signup</a>', name: 'notice', type: 'notice', default: '', displayOptions: { show: {}, }, }, { displayName: 'API Key', name: 'apiKey', type: 'string', typeOptions: { password: true }, default: '', required: true, placeholder: 'oct_1234567890abcdef...', description: 'Your Octagon API key from Settings → API Keys in your account', }, ]; this.authenticate = { type: 'generic', properties: { headers: { Authorization: '=Bearer {{$credentials.apiKey}}', }, }, }; this.test = { request: { baseURL: 'https://api-gateway.octagonagents.com', url: '/v1/responses', method: 'POST', body: { query: 'Get everything for Octagon AI', agent: 'octagon-agent', }, }, }; } } exports.OctagonApi = OctagonApi; //# sourceMappingURL=OctagonApi.credentials.js.map