Skip to main content
POST
Search the knowledge base

Authorizations

Authorization
string
header
required

Headers

X-Workspace-Id
string<uuid>
required

UUID of the workspace to act in. Take it from GET /me (workspaces[].id). A key scoped to specific workspaces is rejected with 403 WORKSPACE_NOT_ALLOWED for any other id; a missing header is 400 WORKSPACE_REQUIRED.

Body

application/json
query
string
required
Required string length: 1 - 1000
limit
integer
default:5
Required range: 1 <= x <= 20

Response

Matching passages

data
object
required