v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01206322659.2 KB
connectors

`GET /orgs/{org_id}/connectors/{connector_id}/browse/filesystems/search`

Search file contents under a connector filesystem root with a line regex — bounded on files, matches, bytes, and time; binaries skipped. Runs entirely in-process on the node. Requires ConnectorsManage (reads file contents, same bar as ad-hoc SQL) and fs:browse (0.1.27+).

get/orgs/{org_id}/connectors/{connector_id}/browse/filesystems/search

Path parameters

org_idstring required
connector_idstring required

Query parameters

filesystem_refstring required

Filesystem root ref on the node (from /browse/filesystems).

pathstring

Directory relative to the root; omit for the root itself.

patternstring required

Regex applied per line (Rust regex syntax; (?i) for case-insensitive).

globstring

Filename glob (* and ?) restricting which files are scanned.

max_matchesinteger

Match cap; the node clamps to its own ceiling.

timeout_msinteger

Node-side scan budget in milliseconds (default 20000, ceiling 30000). 0 / omit = node default.

Response

Search completed

files_matchedinteger required
files_scannedinteger required
truncatedboolean required

A cap bit (matches, files, bytes, or time) — matches is a prefix.