# phi jobs

Manage jobs.

## phi jobs cancel

Cancel a job.

```bash
phi jobs cancel [JOB_ID]
```

### Arguments

| Name | Required | Description |
|---|---|---|
| `JOB_ID` | Optional | Job id; defaults to .phi/state.json. |

## phi jobs embeddings

Download the embeddings produced by a job.

```bash
phi jobs embeddings [JOB_ID] --out OUT
```

### Arguments

| Name | Required | Description |
|---|---|---|
| `JOB_ID` | Optional | Job id; defaults to .phi/state.json. |

### Options

| Flag | Value | Description |
|---|---|---|
| `--out` (required) | OUT | Directory to download embeddings into. |

## phi jobs list

List jobs.

```bash
phi jobs list [options]
```

### Options

| Flag | Value | Description |
|---|---|---|
| `--job-type` | JOB_TYPE | Filter by job type. |
| `--batch` | BATCH | Filter by batch id. |
| `--page` | PAGE, default 1 | Page number. |
| `--page-size` | PAGE_SIZE, default 20 | Results per page. |

## phi jobs status

Show a job's status.

```bash
phi jobs status [JOB_ID]
```

### Arguments

| Name | Required | Description |
|---|---|---|
| `JOB_ID` | Optional | Job id; defaults to .phi/state.json. |

## phi jobs submit

Submit a job and optionally wait for it to finish.

```bash
phi jobs submit JOB_TYPE [options]
```

### Arguments

| Name | Required | Description |
|---|---|---|
| `JOB_TYPE` | Required | Job type, e.g. ESMC. |

### Options

| Flag | Value | Description |
|---|---|---|
| `--param` | PARAM, repeatable | Parameter as key=value (repeatable). |
| `--input` | INPUT, repeatable | Input as key=value (repeatable). |
| `--params-file` | PARAMS_FILE | YAML/JSON params file. |
| `--inputs-file` | INPUTS_FILE | YAML/JSON inputs file. |
| `--context-file` | CONTEXT_FILE | YAML/JSON lineage context file. |
| `--project, -p` | PROJECT | Project id. |
| `--dataset, -d` | DATASET | Dataset id. |
| `--name` | NAME | Human-readable job name. |
| `--idempotency-key` | IDEMPOTENCY_KEY | Idempotency key. |
| `--batch` | BATCH | Batch id grouping related submissions (<=120 chars). |
| `--wait` | switch | Poll until the job reaches a terminal state. |
| `--out` | OUT | Download artifacts here after --wait. |

## phi jobs wait

Wait for a job to reach a terminal state.

```bash
phi jobs wait [JOB_ID]
```

### Arguments

| Name | Required | Description |
|---|---|---|
| `JOB_ID` | Optional | Job id; defaults to .phi/state.json. |


---
Source: https://dynophi.com/docs/cli/jobs. From the installed client, phi 0.4.2, 2026-11-23.
