subscribe
Register a webhook URL to receive HTTP POST notifications when a specified memory event occurs. Returns a subscription ID for later unsubscription.
Instructions
Register a webhook URL to receive HTTP POST notifications when a memory event of the given type fires. Returns the subscription id (UUID) which you need to unsubscribe. Subscriptions are stored in ~/.nexus-webhooks.json and survive server restarts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_type | Yes | Event to subscribe to. One of: 'memory.remember' (after a new memory is stored), 'memory.update' (after a memory is updated in place), 'memory.forget' (after a memory is deleted). | |
| webhook_url | Yes | The http:// or https:// URL that will receive the JSON POST payload {event, memory_id, timestamp}. |