Code Search

Get cross-file usages of a symbol definition

Fetches all usage locations for a definition at a given file/line from peregrine via entire-api. Anonymous callers (no session, no bearer) are served for public repos via entire-api's public-repo path; a private or unknown repo yields 404.

get/api/v1/code-search/usages

Response

Usage locations for the definition

total_countnumber required
truncatedboolean required

Changes

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