---
title: "Search the knowledge base"
method: POST
path: "/v1/knowledge_base/search"
tags: ["KnowledgeBase"]
---

# Search the knowledge base

`POST /v1/knowledge_base/search`

## Request

- Base URL: `https://api.capacity.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.capacity.com/v1/knowledge_base/search`
- Auth: one of:
  - API key in header `x-capacity-id`
  - HTTP bearer

Search the knowledge base

## Request body

- object
  - `query` string: The string to search for
  - `page` integer: The page number to return
  - `limit` integer: The number of results per page
  - `scope` unknown[]: The scope of the search. If no scope is provided, all scopes will be searched.
    - unknown
  - `tags` unknown[]: The tags to filter on. If no tags are provided, no filtering will be done on tags.
    - unknown

## Response `200`

The search results

- object
  - `body` object: Json body data in the request
  - `parameters` object: Query parameters in the request
  - `result` object
    - `search_results` unknown[]
      - unknown

---

[API](https://skmtc.dev/capacity/apis/capacity-api-docs.md) - [All operations](https://skmtc.dev/capacity/apis/capacity-api-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/capacity/apis/capacity-api-docs/revisions/74c85bb61004?raw)
