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

# add_known_type

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/known_types.rs#L25-L35)
pub fn [add\_known\_type](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/add-known-type.md#method.add_known_type)(\&self, type\_id: &[str](https://doc.rust-lang.org/1.98.1/std/primitive.str.html), record\_type: [Option](https://doc.rust-lang.org/1.98.1/core/option/enum.Option.html)\<[Arc](https://doc.rust-lang.org/1.98.1/alloc/sync/struct.Arc.html)\<[Type](https://docs.kinetica.com/content/api/rust/generic_record/struct.Type.md)>>)

Makes `record_type` the type records of `type_id` are decoded by when a data endpoint is called without one; `None` forgets the type.


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