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. When org and repoName are sent, forge (gh or et) is required.

get/api/v1/code-search/usages

Request

  • Base URL
    https://entire.io (the document declares no server; this is the origin it was published from)
  • URL
    https://entire.io/api/v1/code-search/usages
  • Auth
    none declared

Response

Usage locations for the definition

total_countnumber required
truncatedboolean required

Changes

No recorded changes to this operation across all 129 revisions of this API.