Reference
Find files
Finds paths by name or glob, like find or fd, without reading any file.
GET
A glob without / matches a name at any depth (*.ts); with one it matches the whole path (src/**/*.test.ts). * and ? stay within one folder, ** crosses any number.
bearerheader
AuthorizationBearer <token>namespace*stringA namespace of your organization, such as prod/app, or <org>:<namespace> for a public namespace of another one. Encode / as %2F.
branch*stringA branch, such as main or agents/fix-1. Encode / as %2F.
glob*stringLength
1 <= length <= 1000path?stringFind only under this folder.
Length
length <= 4096Default
""kind?stringfiles (with symlinks), folders, or any by default.
Value in
"any""files""folders"at?stringRead an older commit of the branch instead of its head.
Match
^[0-9a-f]{64}$limit?|The most paths to return. 1,000 by default, at most 100,000.
The paths, in name order.
application/json- response
[index: integer]?curl -X GET 'https://example.com/v1/namespaces/string/branches/string/find?glob=string'Example Response
[ { "path": "string", "kind": "file", "size": 0 }]