Skip to content

Query the same knowledge base the AI agent answers from.

Search knowledge base #

Semantic search over your indexed content. Returns the chunks the agent would ground on.

curl -X POST "https://api.helpway.ai/api/content/try" \
  -H "Content-Type: application/json" \
  -d '{"apiKey":"hwc_live_xxxxxxxxxxxxxxxxxxxx","procedure":"knowledge.search","input":{"query":"<query>"}}'

Parameters

NameTypeRequiredDescription
query#stringrequiredNatural-language question
limit#numberNoMax chunks (default 5)

Example response

JSON
{
  "hits": [
    {
      "score": 0.82,
      "title": "Installation",
      "snippet": "Drop this before..."
    }
  ]
}