Embeds the q query server-side using the tenant’s configured BYOK embedding key (OpenAI preferred, Anthropic fallback), then runs pgvector similarity search over span embeddings. Designed for MCP agents and other callers that cannot produce a 1536-dim vector directly.
Documentation Index
Fetch the complete documentation index at: https://docs.trulayer.ai/llms.txt
Use this file to discover all available pages before exploring further.
SDK API key (tl_...) or Clerk session JWT
Free-form text to embed and search.
1RFC3339 lower bound on span created_at.
RFC3339 upper bound on span created_at.
1 <= x <= 100Opaque cursor returned by a previous response.