---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://catboost.ai/docs/en/concepts/python-reference_catboost_get_param.md
  - href: en/concepts/python-reference_catboost_get_param.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://catboost.ai/docs/en/llms.txt

# get_param

<!-- source: en/_includes/work_src/reusage/get_param--purpose.md -->
Return the value of the given  parameter if it is explicitly by the user before starting the training. If this parameter is used with the default value, this function returns None.
<!-- endsource: en/_includes/work_src/reusage/get_param--purpose.md -->


<!-- source: en/_includes/work_src/reusage-python/python__get_all_params__catboost.md -->
Use the [get_all_params](https://catboost.ai/docs/en/concepts/python-reference_catboost_get_all_params.md) method to obtain the values of all training parameters (default, user-defined and dynamically calculated).
<!-- endsource: en/_includes/work_src/reusage-python/python__get_all_params__catboost.md -->


## Method call format {#call-format}

```
get_param(key)
```

## Parameters {#parameters}

### key

#### Description

The key to get the value from.

**Possible types**

string

**Default value**

Required parameter

## Type of return value {#output-format}

<!-- source: en/_includes/work_src/reusage/get_param--output-format.md -->
The value of the specified key. Returns None if the parameter does not exist.
<!-- endsource: en/_includes/work_src/reusage/get_param--output-format.md -->


