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

# show_types

### show\_types

<ul>
  <li>
    show\_types(\
    &#x20;type\_id: string,\
    &#x20;label: string,\
    &#x20;options?: Record\<string, string>,\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md),\
    ): Promise\<[ShowTypesResponse](https://docs.kinetica.com/content/api/javascript/interfaces/ShowTypesResponse.md)>

    Retrieves information for the specified data type ID or type label. For all data types that match the input criteria, the database returns the type ID, the type schema, the label (if available), and the type's column properties.

    #### Parameters

    <ul>
      <li>
        type\_id: string

        Type Id returned in response to a call to `create_type`.
      </li>

      <li>
        label: string

        Option string that was supplied by user in a call to `create_type`.
      </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\<[ShowTypesResponse](https://docs.kinetica.com/content/api/javascript/interfaces/ShowTypesResponse.md)>

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

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

### show\_types\_request

<ul>
  <li>
    show\_types\_request(\
    &#x20;request: [ShowTypesRequest](https://docs.kinetica.com/content/api/javascript/interfaces/ShowTypesRequest.md),\
    &#x20;callback?: [GPUdbCallback](https://docs.kinetica.com/content/api/javascript/types/GPUdbCallback.md),\
    ): Promise\<[ShowTypesResponse](https://docs.kinetica.com/content/api/javascript/interfaces/ShowTypesResponse.md)>

    Retrieves information for the specified data type ID or type label. For all data types that match the input criteria, the database returns the type ID, the type schema, the label (if available), and the type's column properties.

    #### Parameters

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

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

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


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