---
title: "Get rich parameters by template version"
method: GET
path: "/api/v2/templateversions/{templateversion}/rich-parameters"
tags: ["Templates"]
---

# Get rich parameters by template version

`GET /api/v2/templateversions/{templateversion}/rich-parameters`

## Path parameters

- `templateversion` string, uuid, required

## Response `200`

OK

- CodersdkTemplateVersionParameter[]
  - `default_value` string
  - `description` string
  - `description_plaintext` string
  - `display_name` string
  - `ephemeral` boolean
  - `form_type` '' | 'radio' | 'dropdown' | 'input' | 'textarea' | 'slider' | 'checkbox' | 'switch' | 'tag-select' | 'multi-select' | 'error' — FormType has an enum value of empty string, `""`. Keep the leading comma in the enums struct tag.
  - `icon` string
  - `mutable` boolean
  - `name` string
  - `options` CodersdkTemplateVersionParameterOption[]
    - `description` string
    - `icon` string
    - `name` string
    - `value` string
  - `required` boolean
  - `type` 'string' | 'number' | 'bool' | 'list(string)'
  - `validation_error` string
  - `validation_max` integer
  - `validation_min` integer
  - `validation_monotonic` 'increasing' | 'decreasing'
  - `validation_regex` string

---

[API](https://skmtc.net/coder/apis/coder-api.md) · [All operations](https://skmtc.net/coder/apis/coder-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coder/coder-api/versions/56b6e9f08540/schema)
