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

# admin_show_shards

### admin\_show\_shards

<ul>
  <li>
    admin\_show\_shards(\
    &#x20;options?: Record\<string, string>,\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md),\
    ): Promise\<[AdminShowShardsResponse](https://docs.kinetica.com/content/api/javascript/interfaces/AdminShowShardsResponse.md)>

    Show the mapping of shards to the corresponding rank and tom. The response message contains list of 16384 (total number of shards in the system) Rank and TOM numbers corresponding to each shard.

    #### Parameters

    <ul>
      <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\<[AdminShowShardsResponse](https://docs.kinetica.com/content/api/javascript/interfaces/AdminShowShardsResponse.md)>

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

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

### admin\_show\_shards\_request

<ul>
  <li>
    admin\_show\_shards\_request(\
    &#x20;request: [AdminShowShardsRequest](https://docs.kinetica.com/content/api/javascript/interfaces/AdminShowShardsRequest.md),\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md),\
    ): Promise\<[AdminShowShardsResponse](https://docs.kinetica.com/content/api/javascript/interfaces/AdminShowShardsResponse.md)>

    Show the mapping of shards to the corresponding rank and tom. The response message contains list of 16384 (total number of shards in the system) Rank and TOM numbers corresponding to each shard.

    #### Parameters

    <ul>
      <li>
        request: [AdminShowShardsRequest](https://docs.kinetica.com/content/api/javascript/interfaces/AdminShowShardsRequest.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\<[AdminShowShardsResponse](https://docs.kinetica.com/content/api/javascript/interfaces/AdminShowShardsResponse.md)>

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

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


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