← All endpoints
Search
POST /v1/search
Semantic search
Runs a hybrid keyword + vector search across your indexed corpus.
Included from the Basic plan.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| query | body | string | yes | Natural language query string. |
| top_k | body | number | no | Number of results, 1–100. |
| filters | body | object | no | Metadata filter expression. |
{
"query": "unpaid invoices from Brazil",
"top_k": 10,
"filters": {
"country": "BR"
}
}{
"results": [
{
"id": "psg_3f9a1c2b7e4d5a6b8c9d0e1f",
"score": 0.91,
"snippet": "Invoice #4412 — status unpaid"
}
]
}