Find objects by name
find_objectsFinds objects at any depth under a prefix whose key matches a pattern, instead of listing folders one level at a time. Pass exactly one of glob or regex. A glob must describe the WHOLE key: '.csv' finds every CSV however deeply nested, and 'invoice' finds keys containing 'invoice', but plain 'invoice' matches nothing. In a glob '' matches any characters including '/', and '?' matches one. A regex is instead searched anywhere in the key, so '.csv$' finds every CSV and '^data/[0-9]{4}/' matches by shape. Both are case-sensitive and see the full key, prefix included. Reports how many keys it examined and whether it stopped early.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | Glob to match the whole key against, e.g. '*.csv'. | |
| limit | No | Max matches to return (default 100, max 500). | |
| regex | No | Regular expression searched in the key, e.g. '\.csv$'. | |
| bucket | Yes | Bucket name. | |
| prefix | No | Key prefix to search under, e.g. 'data/'. Empty searches the whole bucket. | |
| connectionId | Yes | Connection id from list_connections. |