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

# GetRecordsFromCollectionRequest

> GetRecordsFromCollectionRequest — Kinetica JavaScript API

interface GetRecordsFromCollectionRequest \{\
&#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:3270](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L3270)</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; either binary or json.

<ul>
  <li>Defined in [src/types.ts:3285](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L3285)</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 `offset` and `limit` to request subsequent pages of results.

<ul>
  <li>Defined in [src/types.ts:3283](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L3283)</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:3274](https://github.com/kineticadb/kinetica-api-typescript/blob/master/src/types.ts#L3274)</li>
</ul>

### `Optional`options

options?: Record\<string, string>

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

### table\_name

table\_name: string

Name of the collection or table from which records are to be retrieved, in \[schema\_name.]table\_name format, using standard name resolution rules. Must be an existing collection or table.

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


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