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

# get_records_by_series

### get\_records\_by\_series

<ul>
  <li>
    get\_records\_by\_series(\
    &#x20;table\_name: string,\
    &#x20;world\_table\_name: string,\
    &#x20;offset?: number,\
    &#x20;limit?: number,\
    &#x20;options?: Record\<string, string>,\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md),\
    ): Promise\<[GetRecordsBySeriesResponse](https://docs.kinetica.com/content/api/javascript/interfaces/GetRecordsBySeriesResponse.md)>

    Retrieves the complete series/track records from the given `world_table_name` based on the partial track information contained in the `table_name`.This operation supports paging through the data via the `offset` and `limit` parameters.In contrast to `get_records` this returns records grouped by series/track. So if `offset` is 0 and `limit` is 5 this operation would return the first 5 series/tracks in `table_name`. Each series/track will be returned sorted by their TIMESTAMP column.

    #### Parameters

    <ul>
      <li>
        table\_name: string

        Name of the table or view for which series/tracks will be fetched, in \[schema\_name.]table\_name format, using standard name resolution rules.
      </li>

      <li>
        world\_table\_name: string

        Name of the table containing the complete series/track information to be returned for the tracks present in the `table_name`, in \[schema\_name.]table\_name format, using standard name resolution rules. Typically this is used when retrieving series/tracks from a view (which contains partial series/tracks) but the user wants to retrieve the entire original series/tracks. Can be blank.
      </li>

      <li>
        `Optional`offset: number

        A positive integer indicating the number of initial series/tracks to skip (useful for paging through the results).
      </li>

      <li>
        `Optional`limit: number

        A positive integer indicating the maximum number of series/tracks to be returned. Or END\_OF\_SET (-9999) to indicate that the max number of results should be returned.
      </li>

      <li>
        `Optional`options: Record\<string, string>

        Optional parameters.
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[GetRecordsBySeriesResponse](https://docs.kinetica.com/content/api/javascript/interfaces/GetRecordsBySeriesResponse.md)>

    Promise\<Types.GetRecordsBySeriesResponse> - Promise resolving to the response

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

### get\_records\_by\_series\_request

<ul>
  <li>
    get\_records\_by\_series\_request(\
    &#x20;request: [GetRecordsBySeriesRequest](https://docs.kinetica.com/content/api/javascript/interfaces/GetRecordsBySeriesRequest.md),\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md),\
    ): Promise\<[GetRecordsBySeriesResponse](https://docs.kinetica.com/content/api/javascript/interfaces/GetRecordsBySeriesResponse.md)>

    Retrieves the complete series/track records from the given `world_table_name` based on the partial track information contained in the `table_name`.This operation supports paging through the data via the `offset` and `limit` parameters.In contrast to `get_records` this returns records grouped by series/track. So if `offset` is 0 and `limit` is 5 this operation would return the first 5 series/tracks in `table_name`. Each series/track will be returned sorted by their TIMESTAMP column.

    #### Parameters

    <ul>
      <li>
        request: [GetRecordsBySeriesRequest](https://docs.kinetica.com/content/api/javascript/interfaces/GetRecordsBySeriesRequest.md)

        Request object containing the parameters for the operation
      </li>

      <li>
        `Optional`callback: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md)

        Optional callback function
      </li>
    </ul>

    #### Returns Promise\<[GetRecordsBySeriesResponse](https://docs.kinetica.com/content/api/javascript/interfaces/GetRecordsBySeriesResponse.md)>

    Promise\<Types.GetRecordsBySeriesResponse> - Promise resolving to the response

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


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