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

# primary_url

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/gpudb.rs#L1784-L1789)
pub fn [primary\_url](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/primary-url.md#method.primary_url)(\&self) -> [Option](https://doc.rust-lang.org/1.98.1/core/option/enum.Option.html)\<[Url](https://docs.rs/url/2.5.7/url/struct.Url.html)>

The URL of the primary cluster, if one is identified as primary.


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