---
title: "搜索FAQ"
method: POST
path: "/knowledge-bases/{id}/faq/search"
tags: ["FAQ管理"]
---

# 搜索FAQ

`POST /knowledge-bases/{id}/faq/search`

使用混合搜索在FAQ中搜索，支持两级优先级标签召回：first_priority_tag_ids优先级最高，second_priority_tag_ids次之

## Path parameters

- `id` string, required

## Request body

- GithubComTencentWeKnoraInternalTypesFAQSearchRequest
  - `first_priority_tag_ids` integer[] — 第一优先级标签ID列表，限定命中范围，优先级最高
  - `match_count` integer
  - `only_recommended` boolean — 是否仅返回推荐的条目
  - `query_text` string, required
  - `second_priority_tag_ids` integer[] — 第二优先级标签ID列表，限定命中范围，优先级低于第一优先级
  - `vector_threshold` number

## 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/revisions/abce9036def5/schema)
