RAG

Semantic search over deep diligence claims and sources. Uses pgvector to find claims and sources most semantically similar to the query using cosine similarity on text embeddings.

post/v2/rag/search

Request

  • Base URL
    https://api.omtx.ai (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Headers

Idempotency-Keystring required

Required for POST/PUT/DELETE. Reuse to safely retry.

Request body

querystring required

Search query for semantic matching

top_kinteger

Maximum number of results to return

min_similaritynumber

Minimum similarity score (0-1)

gene_keystring nullable

Filter claims by gene key (case-insensitive)

include_claimsboolean

Include claims in search results

include_sourcesboolean

Include sources in search results

only_trueboolean

Only return claims marked as true

Response

Successful Response

unknown required

Changes

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