Search & Navigation

Search code

Executes a blocking code search and returns all matching file chunks.

post/api/search

Request

  • The document declares no server URL.
  • Auth
    • HTTP bearer
    • or API key in header X-Sourcebot-Api-Key
    • or none

Request body

querystring required
matchesnumber required
contextLinesnumber
wholeboolean
isRegexEnabledboolean
isCaseSensitivityEnabledboolean

Response

Search results.

isSearchExhaustiveboolean required

Changes

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