路由:GET /api/models/search
注册处理器:github.com/QuantumNous/new-api/controller.SearchModelsMeta。
鉴权:登录用户或更高角色。需要 Dashboard access token;精确 User/Admin/Root 边界以当前 Router middleware 为准。
字段状态:controller-confirmed-model-meta。字段为动态上游数据或回调负载时,文档会明确标记,不能补造 Schema。
页面/功能:模型管理页按关键字、厂商、状态和官方同步标记搜索模型。
前端传参:p、page_size、keyword、vendor、status、sync_official。
前端展示:与 GET /api/models/ 相同的模型分页结果和 vendor_counts。
调试:使用本操作的 x-debug 里的占位符;示例不含真实密码、API Key、签名、Cookie 或 Provider 密钥。