Be the first to get access to new connectors. Get early access →
ConnectorBay Early access
Discover
Dify Knowledge (BYOK) icon

Dify Knowledge (BYOK)

Read your Dify knowledge bases, their documents, chunks, metadata fields and tags with your own knowledge base API key

Unify Dynamics LLC

Tools10read-only
Sign-inBYOKbring your own key
Key keptNeverused for one call only
PriceFreeoptional Pro limits
ProviderDify Knowledgeunofficial, not affiliated
Works withMCP · RESTany agent

Try asking

Real questions, and the tools your agent calls to answer them.

What knowledge bases do I have in Dify?
Tools called
list_knowledge_bases
What retrieval settings does Dify knowledge base X use?
Tools called
get_knowledge_base
Which documents of Dify knowledge base X failed indexing?
Tools called
list_documents
How many chunks does document Y in Dify knowledge base X have?
Tools called
get_document
Has Dify finished indexing batch B of knowledge base X?
Tools called
get_indexing_status
Show the chunks of document Y in Dify knowledge base X
Tools called
list_chunks

About

Dify Knowledge (BYOK) lets an AI assistant read your own Dify Knowledge data through the Dify Knowledge API with a key you supply (Dify knowledge base API key). Read-only: 10 tools (list_knowledge_bases, get_knowledge_base, list_documents, get_document, get_indexing_status, list_chunks, list_metadata_fields, list_knowledge_tags, get_knowledge_base_tags, list_available_models). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is only ever sent to api.dify.ai. Unofficial connector by Unify Dynamics LLC: not affiliated with, endorsed by or sponsored by Dify Knowledge. Dify Knowledge and its logos are trademarks of their owners and are used only to say which service the connector works with.

Sources: Live from the Dify Knowledge API (api.dify.ai) with a BYOK key; documentation: https://docs.dify.ai/en/api-reference/guides/get-started. Endpoints checked against that documentation on 2026-10-16.

Privacy

The publisher, Unify Dynamics LLC, states that tool inputs are processed in memory and not retained.

Data not collectedNo account, no profile, no stored prompts or results.

What it can do

10 tools, grouped by job. Every one is read-only or compute-only.

OpenAPI
Read your data10 tools
  • List knowledge basesList the knowledge bases of the workspace with document counts, word counts, embedding model and indexing technique.
  • Get knowledge baseGet one knowledge base: embedding model, indexing technique, retrieval settings, tags and document statistics.
  • List documentsList the documents of a knowledge base with indexing status, word count, tokens, hit count and enabled flag.
  • Get documentGet one document of a knowledge base: indexing status and latency, segment count, language, type and metadata values.
  • Get indexing statusShow the indexing progress of the documents in one upload batch: stage and completed versus total chunks.
  • List chunksList the chunks (segments) of one document with content, word count, tokens, hit count, keywords and status.
  • List metadata fieldsList the metadata fields of a knowledge base (custom and built-in) with their type and how many documents use each.
  • List knowledge tagsList all knowledge base tags of the workspace with the number of knowledge bases bound to each.
  • Get knowledge base tagsList the tags bound to one knowledge base.
  • List available modelsList the models of a type configured in the workspace (for example text embedding or rerank models) with provider and status.

Information

PublisherUnify Dynamics LLC
CategoryDeveloper tools
LanguagesEnglish
Built forWorldwide
CompatibilityAny MCP client · any agent · REST
Version0.1.0
MCP endpointhttps://byok-dify-knowledge.connectorbay.com/mcp
REST APIopenapi.json
SupportGet help · Status
CountryWorldwide
FunctionOther
LayerDeep connectors

Connect it to your agent

Three ways in, the same 10 tools.

MCP (Claude, Cursor, Windsurf, VS Code, any MCP client)https://byok-dify-knowledge.connectorbay.com/mcp
RESTPOST https://byok-dify-knowledge.connectorbay.com/v1/tools/<tool>
OpenAI function callinghttps://connectorbay.com/openai/byok-dify-knowledge.json
OpenAI-compatible chathttps://connectorbay.com/v1/chat/completions · how it works
  • Add the MCP URL in your client's connector, MCP or integration settings (streamable HTTP, no OAuth).
  • Key: send your Dify knowledge base API key in the X-Upstream-Key header (get one at cloud.dify.ai).
  • Ask a question; the agent picks the right tool and answers from the live data.

Dify Knowledge connector: questions and answers

What is the Dify Knowledge connector?

Dify Knowledge (BYOK) lets an AI assistant read your own Dify Knowledge data through the Dify Knowledge API with a key you supply (Dify knowledge… It is a hosted MCP server with 10 tools such as List knowledge bases, Get knowledge base, List documents, Get document, Get indexing status, List chunks, published by Unify Dynamics LLC. It is independent and not affiliated with Dify Knowledge.

How do I connect Dify Knowledge to Claude, ChatGPT or Cursor?

Add the MCP endpoint https://byok-dify-knowledge.connectorbay.com/mcp to your client's MCP, connector or integration settings (streamable HTTP, no OAuth). For REST, POST JSON to https://byok-dify-knowledge.connectorbay.com/v1/tools/<tool>; the OpenAPI description is at /openapi.json. For OpenAI function calling, load https://connectorbay.com/openai/byok-dify-knowledge.json.

Do I need a Dify Knowledge account or API key?

Yes: this is a bring-your-own-key connector. Create a Dify knowledge base API key at https://cloud.dify.ai/datasets and send it in the X-Upstream-Key header. ConnectorBay uses it for that one call only and never stores, logs or caches it.

Is Dify Knowledge read-only?

Yes. Every tool reads or computes. Nothing is created, changed, sent, paid or deleted in your account.

Is the Dify Knowledge connector free?

Yes. It is free to use within the published rate limits; an optional Pro key raises them. There is no account to create.

More like this

More in Other

EasyPost (BYOK)

Read your EasyPost shipments, trackers, batches, insurance records and reports with BYOK (read-only)

Live · MCP + REST7 tools

Help Scout Docs (BYOK)

Read your Help Scout Docs knowledge base collections, categories and articles, and search them, with BYOK

Live · MCP + REST6 tools

Sanity (BYOK)

Query your Sanity content with GROQ: list document types, count and list documents, search by title and fetch documents with BYOK

Live · MCP + REST9 tools

Grafana Cloud (BYOK)

Read your Grafana Cloud dashboards, folders, data sources, alert rules, annotations and teams with BYOK

Live · MCP + REST10 tools

Storyblok (BYOK)

Read stories, folders and links, tags, data sources and the space settings of your Storyblok space with BYOK

Live · MCP + REST8 tools

Contentful (BYOK)

Read published content from your Contentful space (entries, assets, content types, locales, tags) with BYOK

Live · MCP + REST9 tools

Documentation

Back to top

Dify Knowledge (BYOK) — connector documentation

  • MCP endpoint: https://byok-dify-knowledge.connectorbay.com/mcp
  • REST API: POST https://byok-dify-knowledge.connectorbay.com/v1/tools/{tool_name}, described by the OpenAPI 3.1 spec at https://byok-dify-knowledge.connectorbay.com/openapi.json
  • Transport: Streamable HTTP, stateless, MCP specification 2025-06-18 or later
  • Authentication: your own Dify Knowledge Dify knowledge base API key, sent in the X-Upstream-Key header of every request (never stored, logged or cached)
  • Health: https://byok-dify-knowledge.connectorbay.com/health · Tool schemas: https://byok-dify-knowledge.connectorbay.com/tools.json
  • Publisher: Unify Dynamics LLC · connectorbay.com/byok-dify-knowledge · agent@connectorbay.com

What Dify Knowledge (BYOK) is for

Dify Knowledge (BYOK) lets an AI assistant read your own Dify Knowledge data through the Dify Knowledge API with a key you supply (Dify knowledge base API key). Read-only: 10 tools (list_knowledge_bases, get_knowledge_base, list_documents, get_document, get_indexing_status, list_chunks, list_metadata_fields, list_knowledge_tags, get_knowledge_base_tags, list_available_models). The BYOK key travels with each request, is used for that one call only and is never stored, logged or cached; it is only ever sent to api.dify.ai. Unofficial connector by Unify Dynamics LLC: not affiliated with, endorsed by or sponsored by Dify Knowledge. Dify Knowledge and its logos are trademarks of their owners and are used only to say which service the connector works with.

Ask your assistant things like:

  • "What knowledge bases do I have in Dify?"
  • "What retrieval settings does Dify knowledge base X use?"
  • "Which documents of Dify knowledge base X failed indexing?"
  • "How many chunks does document Y in Dify knowledge base X have?"
  • "Has Dify finished indexing batch B of knowledge base X?"
  • "Show the chunks of document Y in Dify knowledge base X"

What it does

  • list_knowledge_bases: List the knowledge bases of the workspace with document counts, word counts, embedding model and indexing technique.
  • get_knowledge_base: Get one knowledge base: embedding model, indexing technique, retrieval settings, tags and document statistics.
  • list_documents: List the documents of a knowledge base with indexing status, word count, tokens, hit count and enabled flag.
  • get_document: Get one document of a knowledge base: indexing status and latency, segment count, language, type and metadata values.
  • get_indexing_status: Show the indexing progress of the documents in one upload batch: stage and completed versus total chunks.
  • list_chunks: List the chunks (segments) of one document with content, word count, tokens, hit count, keywords and status.
  • list_metadata_fields: List the metadata fields of a knowledge base (custom and built-in) with their type and how many documents use each.
  • list_knowledge_tags: List all knowledge base tags of the workspace with the number of knowledge bases bound to each.
  • get_knowledge_base_tags: List the tags bound to one knowledge base.
  • list_available_models: List the models of a type configured in the workspace (for example text embedding or rerank models) with provider and status.

BYOK key

You bring your own Dify Knowledge Dify knowledge base API key (https://cloud.dify.ai/datasets). Your assistant sends it in the X-Upstream-Key header with each request. ConnectorBay uses it for that one call only: it is never stored, logged or cached, never shown in an answer, and it is only sent to api.dify.ai over https, with no redirects followed. Create a key with the fewest permissions the tools need (read-only if the provider offers it), and revoke it at the provider whenever you like.

Data sources

Live from the Dify Knowledge API (api.dify.ai) with a BYOK key; documentation: https://docs.dify.ai/en/api-reference/guides/get-started. Endpoints checked against that documentation on 2026-10-16.

What it is not

Unofficial connector by Unify Dynamics LLC: not affiliated with, endorsed by or sponsored by Dify Knowledge. Dify Knowledge and its logos are trademarks of their owners and are used only to say which service the connector works with. It is read-only: it never creates, changes, sends or deletes anything in your Dify Knowledge account.

Built for: Worldwide. Languages: English.

Privacy policy

Back to top

Dify Knowledge (BYOK) — Privacy Policy

Effective 16 October 2026. Unify Dynamics LLC ("we", "us"), Menlo Park, California.

What Dify Knowledge (BYOK) is. Dify Knowledge (BYOK) is a connector (an MCP server and REST API) that an AI assistant calls on your behalf to read your own Dify Knowledge data: Read your Dify knowledge bases, their documents, chunks, metadata fields and tags with your own knowledge base API key. You bring your own Dify Knowledge Dify knowledge base API key; the assistant sends it to us with each request.

BYOK key. The key you supply is used to make the one Dify Knowledge call you asked for. Our application does not store it, write it to a log, put it in a cache, or share it. It is sent only to api.dify.ai, over https, and is removed from any text we return to you or your assistant. We do not follow redirects with your key. If Dify Knowledge rejects it, we say so without repeating it.

What we receive. The arguments of each tool call, the BYOK key (for that call only), the technical headers needed to serve the request (an IP address or a client identifier supplied by the assistant) and standard server logs. What Dify Knowledge receives. The request we make on your behalf, including the key and the arguments, under Dify Knowledge's own terms and privacy policy (https://dify.ai/terms). Dify Knowledge acts at your direction and is the only recipient of the data of your request besides our hosting provider.

What we return. The answer Dify Knowledge gives for your request, trimmed to the fields the tool documents. We do not keep it: it is returned to your assistant and not stored, cached or used to train anything.

What we do not do. We do not build a profile, sell or share personal information, or keep your Dify Knowledge data. Rate-limit counters (a client identifier and timestamps) are held in memory for at most 24 hours. Hosting access logs (IP addresses, request paths and status codes) are kept for up to 30 days for security and abuse prevention; our application adds no request headers or bodies to them.

Sub-processors. Dify Knowledge (the API you call with a BYOK key, at your direction). Hosting: Vercel (United States regions).

Your rights. Because we store no personal data beyond short-lived logs, requests to access, correct or delete data are usually satisfied automatically; you can still contact agent@connectorbay.com and we will respond within 30 days. Revoke your key at Dify Knowledge at any time to end all access.

Children. Dify Knowledge (BYOK) is a general-audience service operated by the adult using the assistant, under Dify Knowledge's own age rules.

Changes. We will post changes here with a new effective date.

Terms of service

Back to top

Dify Knowledge (BYOK) — Terms of Service

Effective 16 October 2026. These terms govern use of the Dify Knowledge (BYOK) connector ("the Service") operated by Unify Dynamics LLC ("we", "us").

  1. The Service. Dify Knowledge (BYOK) provides: Read your Dify knowledge bases, their documents, chunks, metadata fields and tags with your own knowledge base API key. It is accessed through an AI assistant or directly over MCP or HTTP, and is read-only.
  2. Your own key, your own account. You must use your own Dify Knowledge credentials and only access data you are allowed to access. Dify Knowledge's terms (https://dify.ai/terms) apply to your use of Dify Knowledge; you are responsible for complying with them, including any rate limits and permitted uses. Do not share a key you do not own.
  3. Independent. Unofficial connector by Unify Dynamics LLC: not affiliated with, endorsed by or sponsored by Dify Knowledge. Dify Knowledge and its logos are trademarks of their owners and are used only to say which service the connector works with.
  4. No advice, no guarantees. Output is the data Dify Knowledge returns, lightly trimmed; it may be incomplete, delayed or changed by Dify Knowledge. Check important facts at the source.
  5. Read-only. The Service does not create, change, send or delete anything in your Dify Knowledge account.
  6. Acceptable use. Automated use within the published rate limits is welcome. Do not use the Service to access data you are not entitled to, to circumvent Dify Knowledge's controls, or to attack any system.
  7. Availability. The Service is provided "as is" without warranty. We may change, limit or discontinue it at any time; Dify Knowledge may change or end its API at any time.
  8. Data. Our Privacy Policy describes what we process. In short: the BYOK key is used for the one call and not stored or logged.
  9. Pro keys. Optional ConnectorBay Pro API keys are issued at our discretion and are separate from your Dify Knowledge key.
  10. Liability. To the fullest extent permitted by law, Unify Dynamics LLC is not liable for any loss arising from use of or reliance on the Service, including any action Dify Knowledge takes on your account. Our total liability is limited to US $100.
  11. Governing law. California law; venue in San Mateo County, California.
  12. Contact. Unify Dynamics LLC · agent@connectorbay.com · https://connectorbay.com/byok-dify-knowledge

Dify Knowledge (BYOK) support

Email agent@connectorbay.com. We answer within two business days.

When you report a problem, include the question you asked your agent, roughly when, and which agent you used (for example Claude, ChatGPT or Gemini). Never send us passwords, account numbers or ID numbers. Dify Knowledge (BYOK) never asks for them.

Get Dify Knowledge (BYOK)

Free · BYOK · Read-only

BYOK: bring your own keyThis connector uses your own Dify Knowledge Dify knowledge base API key. Create one at https://cloud.dify.ai/datasets, with the fewest permissions it needs (read-only if the provider offers it). Your assistant sends it in the X-Upstream-Key header with every request. It is used for that one call only: never stored, logged or cached, and only ever sent to Dify Knowledge. Revoke it at the provider whenever you like. Unofficial connector: not affiliated with Dify Knowledge.