npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-deepkeep

v0.2.7

Published

n8n community node for the DeepKeep AI Firewall API

Readme

n8n-nodes-deepkeep

An n8n community node for the DeepKeep AI Firewall API.

Use it in your workflows to check LLM inputs and outputs against DeepKeep guardrails and make arbitrary authorized calls to any DeepKeep API endpoint.

Installation

Via the n8n UI (self-hosted or Cloud once verified)

In your n8n instance, go to Settings → Community Nodes → Install, paste n8n-nodes-deepkeep, and click Install.

Manually (self-hosted)

From your n8n root directory:

npm install n8n-nodes-deepkeep

Make sure N8N_COMMUNITY_PACKAGES_ENABLED=true (default in recent versions), then restart n8n.

Credentials

Create a DeepKeep API credential with:

| Field | Value | | -------- | --------------------------------------------------------------------- | | Base URL | The base URL of your DeepKeep instance, without a trailing slash. Required for node version 2. | | Subdomain | Legacy field for existing node version 1 workflows. The legacy base URL is https://api.<subdomain>.deepkeep.ai. | | API Key | Your DeepKeep API key. Sent as the X-API-Key header on every request. |

The credential is tested against GET /health.

Operations

New workflows use node version 2 by default. Existing workflows saved with node version 1 continue to use the legacy conversation API.

Version 2: Moderation

Version 2 operations live under the Moderation resource.

Pre moderation

Checks model input against the guardrails defined on a DeepKeep firewall.

  • Model — DeepKeep firewall ID. Sent as the OpenAI-compatible model field.
  • Input — the text to check.
  • Title — optional request title.
  • Chat — optional chat identifier or context.

Calls POST /api/v3/openai/moderations/pre with:

{"model":"input-firewall-id","input":"hello","title":"","chat":""}

Post moderation

Checks model output against the guardrails defined on a DeepKeep firewall.

  • Model — DeepKeep firewall ID. Sent as the OpenAI-compatible model field.
  • Output — the text to check.
  • Title — optional request title.
  • Chat — optional chat identifier or context.

Calls POST /api/v3/openai/moderations/post with:

{"model":"output-firewall-id","output":"hello","title":"","chat":""}

Make API call

An escape hatch that lets you call any DeepKeep endpoint with the configured credentials.

  • URL — path relative to the configured Base URL (e.g. /api/v3/openai/moderations/pre).
  • MethodGET, POST, PUT, PATCH, DELETE.
  • Headers — optional key/value rows. Content-Type: application/json is included by default.
  • Query Parameters — optional key/value rows.
  • Body — raw request body (usually JSON).

Returns { statusCode, headers, body }. body is parsed as JSON when possible, otherwise passed through as a string. Non-2xx responses are returned in the envelope rather than thrown.

Version 1: Firewall conversation

Version 1 is retained for backwards compatibility with existing workflows. It uses the legacy Firewall Conversation resource and the legacy subdomain credential field.

Check input

Checks a prompt against the guardrails defined on a firewall.

  • Firewall — select from the list of firewalls in your DeepKeep workspace.
  • Conversation ID — existing conversation to append the check to.
  • Content — the text to check.
  • Return Full Response (Enable Logs) — whether to return all detected violations.

Calls POST /api/v2/firewalls/{firewallId}/conversation/{conversationId}/check_user_input.

Create conversation

Starts a new conversation on a firewall.

Calls POST /api/v2/firewalls/{firewallId}/conversation.

Make API call

Calls a path relative to the legacy API base https://api.<subdomain>.deepkeep.ai/api.

Migration from 0.1.x

Version 0.2.7 introduces light node versioning so existing workflows remain backwards compatible while new workflows use the same OpenAI-compatible DeepKeep API calls used by the LangChain integration.

  • Existing workflows saved with node version 1 continue to use the legacy conversation API.
  • New workflows use node version 2 by default.
  • Use Base URL for node version 2.
  • Use your DeepKeep firewall ID in the version 2 Model field.
  • Version 1 is retained for compatibility only and should not be used for new workflows.

Local development

See the sibling n8n-deepkeep/ folder in the source repository for a Docker Compose setup that runs n8n locally with this package mounted as a custom node.

License

MIT

Support

  • DeepKeep documentation: https://deepkeep.ai
  • Issues: please file on this repository
  • Contact: [email protected]