Developers

Build on Nyxeara.

Canonical SDK, API, and extension documentation. The platform contracts are stable; the developer surface expands incrementally.

What you can build

  • Tool, parser, intelligence, workflow, integration, notification, report, and UI extensions.
  • Normalized parsers and result renderers.
  • Webhook endpoints with signing and replay protection.

SDK contracts

export type ExtensionType = 'tool' | 'parser' | 'intelligence' | 'workflow' | 'integration' | 'notification' | 'report' | 'ui' | 'developer';
export interface ExtensionManifest {
  id: string; name: string; version: string; publisher: string; type: ExtensionType; nyxSdk: string;
  permissions?: string[]; capabilities?: string[]; configSchema?: { fields: Array<{ name: string; type: string; required?: boolean }> };
  runtime?: { node?: string; container?: string; entry?: string };
}

Webhook signing

Outgoing webhooks are signed with HMAC-SHA256. Verify using the helper below.

import { signWebhook, verifyWebhook } from '@nyxeara/sdk/webhooks';
const secret = process.env.NYX_WEBHOOK_SECRET!;
const body = JSON.stringify({ event: 'finding.created', data: { id: 'f_123' } });
// Sender:
const signature = signWebhook(body, secret); // => 't=..., v1=...'
// Receiver:
const ok = verifyWebhook(signature, body, secret, 300);

Lifecycle

  1. Validate manifest.
  2. Install (admin).
  3. Verify (admin).
  4. Enable, disable, or revoke (admin).

See Admin → Extensions for the live registry (to be expanded).