Skip to main content
POST
/
v1
/
kb
/
search
Search knowledge base
curl --request POST \
  --url https://api.conduit.ai/v1/kb/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "what time is checkout",
  "max_results": 10
}
'
{
  "data": [
    {
      "node_id": "<string>",
      "chunk_id": "<string>",
      "node_title": "<string>",
      "chunk_text": "<string>",
      "context": "<string>",
      "chunk_index": 123,
      "source": "<string>",
      "knowledge_type": "<string>",
      "relevance_score": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Conduit API token. Use Authorization: Bearer <token>. Read/write endpoints require a token with write access.

Query Parameters

workspace_id
string
required

Workspace to query.

Example:

"j57demo8f8x7c9v0n2q4r6t8y1u3i5o"

Body

application/json
query
string
required

Natural-language search query.

Minimum string length: 1
Example:

"what time is checkout"

entity_ids
string[]

Restrict results to nodes scoped to any of these entities.

max_results
integer

Maximum number of results to return.

Required range: 1 <= x <= 50
Example:

10

Response

Knowledge search results

data
object[]
required