FindResultEntry
One file or directory a find matched.
Kind: an object, used in responses.
Fields
Section titled “Fields”Every field is present in a response; empty ones are null.
| Field | Type | Description |
|---|---|---|
path | string | Full path to the file or directory within the file system. |
type | string | Entry type: “file” or “directory”. |
size | integer | File size in bytes (0 for directories). |
dateModified | datetime | When it was last modified (UTC). |
grepMatches | GrepMatch[] | null | Grep matches found in this file. Null if grep was not specified. |
preview | string | null | Preview of file content (the first previewLines lines). Null if includePreview was false. |
Example
Section titled “Example”{ "path": "...", "type": "...", "size": 0, "dateModified": "2026-10-26T12:00:00.0000000Z", "grepMatches": [ { "line": 0, "content": "...", "before": [], "after": [] } ], "preview": "..."}Where it’s used
Section titled “Where it’s used”- Inside
FindResponse