Skip to main content
Return the symbols (functions / classes / methods / variables) parsed from a code repository. Filter by file query parameter.

Endpoint

Authentication

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

Path parameters

string
required
Workspace id.
string
required
Repo id.

Query parameters

string
Only return symbols in this file path.

Response

The response is an array; each element is a symbol:
string
Symbol id (sym_...).
string
Owning repo id.
string
Owning workspace id.
string
File path of the symbol.
string
Symbol name.
string
Symbol kind (function / class / method / variable).
string
Signature.
string
Symbol source content.
integer
Start line.
integer
End line.

Example