POST
/
symbol
/
find-referenced-symbols

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request to get the symbols that are referenced from the symbol at the given position Request to get all symbols that are referenced from a given position

The input position should point to a location in code where symbols are referenced. For example, inside a function body to find all symbols used by that function.

identifier_position
object
required

A position within a specific file in the workspace

Response

200 - application/json

Response containing symbols referenced from the requested position

The symbols are categorized into:

  • workspace_symbols: References to symbols that were found and have definitions in the workspace
  • external_symbols: References to symbols from outside the workspace (built-in functions, external libraries)
  • not_found: References where the symbol definition could not be found
external_symbols
object[]
required
not_found
object[]
required
workspace_symbols
object[]
required