Skip to main content
Run semantic search within a code repository, returning the most relevant symbols.

Endpoint

Authentication

Authorization: Bearer <jwt> or X-API-Key <sk_...>. Minimum role: viewer.

Path parameters

string
required
Workspace id.
string
required
Repo id.

Request body

string
Search text (falls back to the query query param when omitted).
integer
Number of most-similar symbols to return.

Response

The response is an array; each element is a symbol (fields identical to List Symbols).

Example