Implementation traces

Search implementation traces

Hybrid semantic + full-text search over the organization's implementation traces, reranked for relevance. Returns the best passage from each matching conversation, with its thread id, title, project, tool, branch, actor, start day, and a relevance score. Requires the developer role.

get/api/v1/traces/search

Request

  • Base URL
    https://app.khotan.com
  • URL
    https://app.khotan.com/api/v1/traces/search
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Query parameters

qstring required

Natural-language search query. Retrieval is hybrid: semantic vector similarity over trace passages combined with full-text search, then reranked.

kinteger

Maximum number of results to return (1-50; default 10).

Response

Ranked passages, most relevant first.

Changes

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