原文链接
https://novusai-saas.github.io/ja/ja/docs/api-reference/shared-api.md共享API
本文引用的源码 与文档
本文引用的文件
- backend/app/api/shared/init.py
- _agent_helpers.py
- _agent_assignment_helpers.py
- _agent_chat_helpers.py
- _attachment_helpers.py
- _kb_helpers.py
- _skill_helpers.py
- _toolkit_helpers.py
- _storage_helpers.py
- _rich_text_ai_operations.py
- rich_text_ai_schemas.py
- _skill_package_upload.py
- _skill_package_export.py
- _skill_package_summary.py
- _skill_stats.py
- _captcha_helpers.py
- _organization_helpers.py
- _ai_account_guard.py
- recycle_bin_registry.py
- admin/agents.py
- admin/agent_assignments.py
- admin/ai_agent_chat.py
- admin/ai_writing.py
- admin/attachments.py
- admin/knowledge_bases.py
- admin/skill_packages.py
- admin/organization.py
- admin/recycle_bin.py
- tenant/agent_chat.py
- test_shared_api_helpers.py
- test_skill_api_shared_helpers.py
目录
简介
本文件系统性梳理后端共享API模块,聚焦跨模块复用的辅助功能与共享组件,覆盖智能体助手、附件处理、知识库帮助、技能管理等领域的共享逻辑。文档从接口规范、参数约定、返回格式、设计原则、版本兼容性与扩展机制等方面进行阐述,并通过真实代码路径示例展示在不同API中的复用方式,最后给出最佳实践与常见使用模式。