Skip to main content
POST
Search code

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>. The token may be a Sourcebot API key, OAuth access token, or scoped access token, subject to endpoint requirements.

Body

application/json
query
string
required
matches
number
required
contextLines
number
whole
boolean
isRegexEnabled
boolean
isCaseSensitivityEnabled
boolean

Response

Search results.

stats
object
required
files
object[]
required
repositoryInfo
object[]
required
isSearchExhaustive
boolean
required