# Rancher API enum definitions

**URL:** <https://forums.suse.com/t/rancher-api-enum-definitions/17571>\
**Category:** SUSE Rancher Prime\
**Created:** [May 29, 2020, 1:01pm UTC](https://forums.suse.com/t/rancher-api-enum-definitions/17571 "2020-05-29T13:01:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivanmilchev](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/ivanmilchev/32/6420_2.png) [@ivanmilchev](https://forums.suse.com/u/ivanmilchev)\
**Post date:** [May 29, 2020, 1:01pm UTC](https://forums.suse.com/t/rancher-api-enum-definitions/17571/1 "2020-05-29T13:01:33Z")

</div>

Hi all,

I was wondering where I can find the definition for the possible enumeration values that are being returned by the Rancher API. For example, if I do a `GET` on `/v3/clusters/`, I get back a list of clusters. These clusters have a `state` property that is of type `string`. However, there must be a definition somewhere that specifies what are the possible states for a cluster but I cannot seem to find it.

I did look through the Rancher repository, also Telemetry (I was looking for node states), Rancher UI API and Norman but I could not find anything relevant. Maybe I just don’t know where to look. Can someone help with this?

Thanks in advance!
