---
title: "批量获取知识"
method: GET
path: "/knowledge/batch"
tags: ["知识管理"]
---

# 批量获取知识

`GET /knowledge/batch`

根据ID列表批量获取知识条目。可选 kb_id：指定时按该知识库校验权限并用于共享知识库的空间解析；可选 agent_id：使用共享智能体时传此参数，后端按智能体所属空间查询（用于刷新后恢复共享知识库下的文件）

## Query parameters

- `ids` string[], required
- `kb_id` string
- `agent_id` string

## Response `200`

知识列表

- object

## Other responses

- `400` — 请求参数错误

---

[API](https://skmtc.net/tencentblueking/apis/weknora-api.md) · [All operations](https://skmtc.net/tencentblueking/apis/weknora-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tencentblueking/weknora-api/versions/d6921ae22ce0/schema)
