Skip to main content
POST
Search volume file contents by regex

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Path Parameters

id
string
required

Volume ID

Body

application/json
path
string
required

Absolute volume-internal path rooted at /. Relative paths are rejected and .. may not escape the volume root. Volume file routes do not accept machine cwd or per-call user semantics.

pattern
string
required

Regex for /files/find or glob pattern for /files/search.

Response

Search matches

file
string
required

Absolute path to the matching file within the addressed filesystem surface.

line
integer<uint32>
required
content
string
required