# BatchReadResponse

The files a batch read returned.

**Kind:** an object, used in responses.

## Fields

Every field is present in a response; empty ones are `null`.

| Field | Type | Description |
|---|---|---|
| `results` | [`BatchReadFileResult`](https://docs.maitento.com/reference/types/batch-read-file-result.md)`[]` | Results for each file. |

## Example

```json
{
  "results": [
    {
      "path": "...",
      "success": false,
      "error": "...",
      "content": "...",
      "totalLines": 0,
      "truncated": false
    }
  ]
}
```

## Where it's used

- [`vfs.open(name).batchRead`](https://docs.maitento.com/reference/api/vfs.md) (`POST /namespaces/{namespaceName}/vfs/by-name/{name}/batch/read`)
- [`vfs.openById(id).batchRead`](https://docs.maitento.com/reference/api/vfs.md) (`POST /vfs/by-id/{id}/batch/read`)
