---
jsApi: true
title: "[F] getStatusCodes"

---
```ts
getStatusCodes(program, entity): string[]
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `entity` | `Type` |

## Returns

`string`[]
