---
title: "Search"
method: GET
path: "/api/knowledge/search"
tags: ["knowledge"]
---

# Search

`GET /api/knowledge/search`

## Request

- Base URL: `https://api.advisorppc.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.advisorppc.com/api/knowledge/search`
- Auth: HTTP bearer

## Query parameters

- `q` string, required
- `library` 'engineering' | 'adtech' | 'all'
- `k` integer

## Headers

- `X-Tenant-Id` integer, nullable

## Response `200`

Successful Response

- KnowledgeSearchOut
  - `results` KnowledgeResultOut[], required
    - `title` string, required
    - `source` string, required
    - `url` string, nullable
    - `content` string, required
    - `score` number, required
    - `library` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/advisorppc/apis/advisorppc-api.md) · [All operations](https://skmtc.dev/advisorppc/apis/advisorppc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/advisorppc/apis/advisorppc-api/revisions/3441bd729e0c?raw)
