mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-07-22 04:15:24 -04:00
[DOCS]: API Documentation Mismatch #293
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 @pop9s on GitHub (Dec 29, 2025).
Type of Documentation Change
Error/Typo fix
Documentation Page URL or Path
https://docs.dify.ai/api-reference
Current Content
1.Next Suggested Questions: (GET)/messages/{message_id}/suggested
2.Create an Empty Knowledge Base:(POST)/datasets
3.File Upload:(POST)/files/upload
Suggested Changes
1.Next Suggested Questions: (GET)/messages/{message_id}/suggested-question
2.Create an Empty Knowledge Base:(POST)/datasets/init
3.File Upload:(GET)/files/upload
Reason for Change
We encountered a critical issues with the Dify official API documentation during integration: Some recorded API endpoints have inconsistent HTTP methods and URL paths with actual usage. These issues cause confusion during development and affect integration efficiency. We hope to supplement and correct the documentation accordingly.
Code of Conduct
@dosubot[bot] commented on GitHub (Dec 29, 2025):
Hi @pop9s! I'm Dosu and I’m helping the dify-docs team.
The current API documentation for these endpoints is accurate according to the codebase and recent issues:
/messages/{message_id}/suggested, not/suggested-question(source)./datasets, not/datasets/init(source)./files/upload, not a GET (source).The suggested changes do not match the actual implementation and should not be adopted unless the API itself changes. If you need to verify endpoints in the future, checking the OpenAPI spec or the codebase is the most reliable method.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
@RiskeyL commented on GitHub (Jan 7, 2026):
Hi @pop9s, just wanted to follow up on this – dosubot has analyzed the code and shared its findings above. Could you take a look and let us know if this addresses your concerns?
@dosubot[bot] commented on GitHub (Jan 18, 2026):
Hi, @pop9s. I'm Dosu, and I'm helping the dify-docs team manage their backlog and am marking this issue as stale.
Issue Summary:
Next Steps:
Thank you for your understanding and contribution!