← All endpoints

Search

POST /v1/search

Semantic search

Runs a hybrid keyword + vector search across your indexed corpus.

Included from the Basic plan.

NameInTypeRequiredDescription
querybodystringyesNatural language query string.
top_kbodynumbernoNumber of results, 1–100.
filtersbodyobjectnoMetadata 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"
    }
  ]
}