mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-07-22 12:25:45 -04:00
[DOCS]: 社区版没有API-KEY吗 #247
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cffycls on GitHub (Oct 11, 2025).
Type of Documentation Change
Error/Typo fix
Documentation Page URL or Path
https://docs.dify.ai/zh-hans/openapi-api-access-readme#api-%E5%AF%86%E9%92%A5-api-key
Current Content
https://docs.dify.ai/zh-hans/openapi-api-access-readme#api-%E5%AF%86%E9%92%A5-api-key
The document states that there is an API-Key, but after local installation, I cannot find the relevant page
[Access Control: In Dify Application, go to Monitoring -> Backend Service API]
Suggested Changes
Find the API-KEY setting item
Reason for Change
No response
Code of Conduct
@dosubot[bot] commented on GitHub (Oct 11, 2025):
Hi @cffycls! I'm Dosu and I’m helping the dify-docs team.
社区版(本地部署)是支持 API-KEY 功能的,相关的 API-Key 管理接口和前端组件都已集成在开源版本中。
但文档中提到的“Monitoring → Backend Service API”入口,实际上在新版 UI(2025年9月后)已经调整,API-Key 管理入口现在位于「数据集详情页」的 Service API 区块,而不是 Monitoring 菜单下。
你可以在数据集详情页右侧找到 Service API 卡片,点击其中的“Secret Key”按钮即可管理和生成 API-Key。
如果你找不到入口,可以确认下是否使用了最新版本,并确保自己有对应的工作区权限(管理员/编辑者)。
建议文档将相关描述更新为:“请在数据集详情页的 Service API 区块管理 API-Key”,并移除对 Monitoring 菜单的引用,以避免误导。
参考:Service API 组件 PR 说明
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

@cffycls commented on GitHub (Oct 12, 2025):
这是我安装的社区版-1.9.1版本:
探索 | 工作室 | 知识库 | 工具
UI不是这样的吗?
「数据集详情页」的 Service API 区块,是啥,找不到啊
@JavaCoderFan commented on GitHub (Nov 23, 2025):
@crazywoola @dosubot
这是我安装的社区版-1.9.2版本:
探索| 工作室 | 库知识 | 工具
我也没有找到 API-Key ,方便截图吗
@dosubot[bot] commented on GitHub (Nov 23, 2025):
Dify 社区版 1.9.2 确实内置了数据集(知识库)API-Key 管理功能,但该入口在 UI 中有权限和配置依赖,部分情况下会被隐藏。
常见原因和排查方法:
docker compose exec api flask upgrade-db或设置了MIGRATION_ENABLED=true并重启容器。UI 路径说明(无截图,文字描述):
如果依然没有入口:
如需进一步排查,可补充你的账号权限、知识库类型、升级方式等信息。
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other