> ## 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.

# GetRecordsRequest

> GetRecordsRequest — Kinetica TypeScript API

interface GetRecordsRequest \{\
&#x20;[encoding](#encoding)?: string;\
&#x20;[limit](#limit)?: number;\
&#x20;[offset](#offset)?: number;\
&#x20;[options](#options)?: Record\<string, string>;\
&#x20;[table\_name](#table_name): string;\
}

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

##### Index

### Properties

[encoding?](#encoding) [limit?](#limit) [offset?](#offset) [options?](#options) [table\_name](#table_name)&#x20;

## Properties

### `Optional`encoding

encoding?: string

Specifies the encoding for returned records; one of binary, json, or geojson.

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

### `Optional`limit

limit?: number

A positive integer indicating the maximum number of results to be returned, or END\_OF\_SET (-9999) to indicate that the maximum number of results allowed by the server should be returned. The number of records returned will never exceed the server's own limit, defined by the max\_get\_records\_size parameter in the server configuration. Use `has_more_records` to see if more records exist in the result to be fetched, and `offset` and `limit` to request subsequent pages of results.

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

### `Optional`offset

offset?: number

A positive integer indicating the number of initial results to skip (this can be useful for paging through the results).

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

### `Optional`options

options?: Record\<string, string>

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

### table\_name

table\_name: string

Name of the table or view from which the records will be fetched, in \[schema\_name.]table\_name format, using standard name resolution rules.

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


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