---
title: "Search knowledge documents"
method: GET
path: "/v1/knowledge/search"
tags: ["Knowledge"]
---

# Search knowledge documents

`GET /v1/knowledge/search`

## Request

- Base URL: `https://api.agentboxd.com`
- URL: `https://api.agentboxd.com/v1/knowledge/search`
- Auth: HTTP bearer

`?q=&inbox_id=&limit=`. Ranked full-text search. With `inbox_id`, workspace-wide documents are included. Returns `{ data: [{ id, title, inbox_id, rank, snippet }] }`.

Permission: `knowledge:read`.

## Query parameters

- `q` string, required
- `inbox_id` string, uuid
- `limit` integer

## Response `200`

OK

- object

## Other responses

- `4XX`: Error
- `5XX`: Error

---

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