# Filter

This field filters out and returns jobs in the specified job state. The order of data returned is determined by the filter used, and is subject to change.

| Enums ||
|---|---|
| `UNKNOWN` | The filter isn't specified, or is unknown. This returns all jobs ordered on descending `JobUuid`. |
| `ALL` | Returns all running jobs first ordered on creation timestamp, then returns all terminated jobs ordered on the termination timestamp. |
| `TERMINATED` | Filters the jobs that have a terminated state, ordered on the termination timestamp. Example terminated states: `JOB_STATE_STOPPED`, `JOB_STATE_UPDATED`, `JOB_STATE_DRAINED`, etc. |
| `ACTIVE` | Filters the jobs that are running ordered on the creation timestamp. |