# ProcessTypeStateCounts

Run counts for one kind of run on the overview dashboard. `active` and `waiting` count every live run whatever its age; the other counts cover runs created inside the dashboard's window.

**Kind:** an object, used in responses.

## Fields

Every field is present in a response; empty ones are `null`.

| Field | Type | Description |
|---|---|---|
| `type` | [`ProcessType`](https://docs.maitento.com/reference/types/process-type.md) | The kind of run counted. |
| `active` | `integer` | Live runs that are queued or executing. |
| `waiting` | `integer` | Live runs waiting on something outside themselves, such as a person or an approval. |
| `finished` | `integer` | Runs created in the window that ended `Finished`. |
| `error` | `integer` | Runs created in the window that ended in `Error`. |
| `killed` | `integer` | Runs created in the window that were killed. |

## Example

```json
{
  "type": "App",
  "active": 0,
  "waiting": 0,
  "finished": 0,
  "error": 0,
  "killed": 0
}
```

## Where it's used

- Inside [`ProcessDashboard`](https://docs.maitento.com/reference/types/process-dashboard.md)
