Glob
POST /v1/sandbox/{sandboxID}/filesystem/glob
POST
/v1/sandbox/{sandboxID}/filesystem/glob
Search for files matching a glob pattern under the given path.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” sandboxID
required
string
Unique sandbox identifier.
Request Body required
Section titled “Request Body required ”object
path
required
Base directory to search from.
string
pattern
Glob pattern to match file names against.
string
exclude
Glob patterns to exclude (e.g. node_modules, .git).
Array<string>
Responses
Section titled “ Responses ”List of matching file paths.
object
items
required
List of matching file paths.
Array<string>
Bad request – validation error.
object
message
required
Summary message, e.g. “Invalid request”.
string
errors
required
Array<object>
object
field
required
JSON field name that failed validation (e.g. “path”, “command”).
string
error
required
Human-readable description of the validation failure.
string
Unauthorized – invalid or missing API key.
object
message
required
Human-readable error message.
string