> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ExportRecordsToFilesRequest

> ExportRecordsToFilesRequest — Kinetica Node.js API

interface ExportRecordsToFilesRequest \{\
&#x20;[filepath](#filepath): string;\
&#x20;[options](#options)?: Record\<string, string>;\
&#x20;[table\_name](#table_name): string;\
}

<ul>
  <li>Defined in [src/types.ts:2671](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L2671)</li>
</ul>

##### Index

### Properties

[filepath](#filepath) [options?](#options) [table\_name](#table_name)&#x20;

## Properties

### filepath

filepath: string

Path to data export target. If `filepath` has a file extension, it is read as the name of a file. If `filepath` is a directory, then the source table name with a random UUID appended will be used as the name of each exported file, all written to that directory. If filepath is a filename, then all exported files will have a random UUID appended to the given name. In either case, the target directory specified or implied must exist. The names of all exported files are returned in the response.

<ul>
  <li>Defined in [src/types.ts:2684](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L2684)</li>
</ul>

### `Optional`options

options?: Record\<string, string>

Optional parameters.

<ul>
  <li>Defined in [src/types.ts:2686](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L2686)</li>
</ul>

### table\_name

table\_name: string

The name of the table whose records are to be exported.

<ul>
  <li>Defined in [src/types.ts:2673](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L2673)</li>
</ul>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.