本页面提供有关 Developer Knowledge API 和 Developer Knowledge MCP 服务器更新的信息。 请查看此页面,了解有关新功能或更新的功能、bug 修复和已知问题的公告。
2026 年 9 月 9 日
-
gcloud beta developer-knowledge命令可在 gcloud CLI的“beta”组件中使用。gcloud beta developer-knowledge answer-query:获取基于开发者文档的查询的答案。gcloud beta developer-knowledge documents describe:检索文档元数据和内容视图。gcloud beta developer-knowledge documents search-chunks:搜索给定查询的相关文档块。
2026 年 8 月 27 日
- 过滤功能现已在
AnswerQueryRequest的 v1 API 中正式发布 (GA)。如需了解详情,请参阅AnswerQueryRequest.filter的参考文档。
2026 年 8 月 25 日
以下网域现已包含在语料库中:
如需查看支持的网域的完整列表,请参阅语料库 参考文档。
2026 年 8 月 21 日
-
DocumentChunkv1 API 中的消息现在包含relevance_score字段,其范围为[0.0, 1.0],表示块与AnswerQuery或SearchDocumentChunks查询的相关性。
2026 年 8 月 18 日
- (v1alpha)
gcloud alpha developer-knowledge命令可在 gcloud CLI的“alpha”组件中使用。gcloud alpha developer-knowledge answer-query:获取基于开发者文档的查询的答案。gcloud alpha developer-knowledge documents describe:检索文档元数据和内容视图。gcloud alpha developer-knowledge documents search-chunks:搜索给定查询的相关文档块。
2026 年 8 月 7 日
- (v1alpha)
DocumentChunk消息现在包含relevance_score字段,其范围为[0.0, 1.0],表示块的 相关性与AnswerQuery或SearchDocumentChunks查询。 - (v1alpha)
AnswerQueryRequest现在支持使用filter字段过滤搜索 结果。如需了解详情,请参阅AnswerQueryRequest.filter的参考文档。
2026 年 7 月 27 日
- Developer Knowledge API 现在支持
https://www.googleapis.com/auth/developerprofiles.readonlyOAuth 范围。
2026 年 7 月 17 日
-
AnswerQuery端点现已正式发布 (GA)。 如需了解详情,请参阅 使用基于事实的生成功能回答查询。
2026 年 7 月 9 日
- 允许的最大
page_sizeSearchDocumentChunks已从 20 增加到 100。 - 对于
SearchDocumentChunks,大于 100 的page_size值现在会被强制转换为 100,而不是返回INVALID_ARGUMENT错误。
2026 年 7 月 2 日
-
Document消息现在包含content_length_bytes字段, 该字段表示content字段的长度(以字节为单位)。
2026 年 6 月 9 日
-
AnswerQuery现在使用gemini-3-flash-preview模型。
2026 年 6 月 1 日
AnswerQuery响应现在包含所提供答案的references和citations。如需了解详情,请参阅 使用基于事实的生成功能回答查询。
2026 年 5 月 20 日
以下网域现已包含在语料库中:
如需查看支持的网域的完整列表,请参阅语料库 参考文档。
2026 年 4 月 20 日
Developer Knowledge API 现在支持
AnswerQuery方法,该方法 可让您获取基于 Developer Knowledge API 语料库的查询的答案。如需了解详情,请参阅 使用基于事实的生成功能回答查询。
2026 年 4 月 16 日
- Developer Knowledge API 和 Developer Knowledge MCP 服务器现已正式发布 (GA)。使用 API 和 MCP 服务器,让 AI 驱动的开发工具能够搜索和检索 Google 的官方开发者文档。
2026 年 4 月 14 日
以下网域现已包含在语料库中:
如需查看支持的网域的完整列表,请参阅语料库 参考文档。
2026 年 4 月 9 日
-
SearchDocumentChunks现在支持根据文档的data_source、update_time和uri字段进行过滤。如需了解详情,请参阅 搜索和检索文档以及SearchDocumentChunks.filter的参考文档。
2026 年 4 月 2 日
-
Document消息现在包含data_source字段,该字段 表示返回的内容的来源。 - Developer Knowledge API 现在支持
DocumentView枚举,让 您无需检索完整文档内容即可请求文档元数据。Document消息现在会填充view字段。 -
Document消息现在包含update_time字段, 表示文档内容或元数据的上次更改时间。 -
DocumentChunk消息现在包含Document字段, 其中包含有关文档的元数据。
2026 年 2 月 28 日
-
Document消息现在包含title和description字段,表示文档的标题和说明。
2026 年 3 月 15 日
- 修复了
Document.uri值缺少架构的问题。它们现在包含https://前缀。
2026 年 3 月 8 日
- MCP 工具
get_document和batch_get_documents已被 移除。它们被新的get_documentsMCP 工具取代。
2026 年 2 月 18 日
- 在 2026 年 3 月 17 日之后,当您启用 Developer Knowledge API 时, Developer Knowledge MCP 服务器会自动启用。
2026 年 2 月 4 日
- Developer Knowledge API 和 Developer Knowledge MCP 服务器现已推出公开预览版。 使用 API 和 MCP 服务器,让 AI 驱动的开发工具能够搜索和检索 Google 的官方开发者文档。