Skip to main content
GET
Searches for files matching a query string within the sandbox. Returns matching files with line-level match details. Required scope: sessions:read

Path Parameters

string
required
The session ID (e.g. ses_abc123).

Query Parameters

string
required
Search query string.
string
default:"/"
Directory path to scope the search (e.g. /src).

Headers

string
required
Bearer token. Example: Bearer runtm_xxx

Response

array
Array of matching file results.
string
Path of the matching file.
array
Array of line matches within the file.
integer
Line number of the match.
string
Content of the matching line.