Search facts

Semantically search stored facts. Returns the most relevant facts for the query.

post/api/v1/facts/search

Request

  • Base URL: https://ctxstore.ai
  • URL: https://ctxstore.ai/api/v1/facts/search
  • Auth: HTTP bearer

Request body

querystring required

Search query

top_kinteger

Number of results to return

category'preference' | 'decision' | 'identity' | 'technical' | 'relationship'

Filter by category

Example request

{
  "query": "user preferences"
}

Response

Search results

countinteger

Changes

No recorded changes to this operation across all 1 revision of this API.