GET
Show full details and current status for a single operation.oumi-cli operations get [OPTIONS] OPERATION_ID
| Argument | Type | Required | Description |
|---|---|---|---|
OPERATION_ID | integer | ✓ | ID of the operation to inspect (see operations list). |
| Option | Type | Required | Description |
|---|---|---|---|
--project | text | Project that owns the operation; falls back to OUMI_PROJECT_ID or the active profile. |
LIST
List operations in a project, optionally filtered by status, type or resource.oumi-cli operations list [OPTIONS]
| Option | Type | Required | Description |
|---|---|---|---|
--project | text | Project to list operations from; falls back to OUMI_PROJECT_ID or the active profile. | |
--limit | integer range | Maximum number of operations to return (default 100). | |
--all | flag | Return all operations, following pages until none are left (capped by --max-items). Cannot be combined with --limit. | |
--max-items | integer range | Cap on how many operations --all returns (default 10000). | |
--resource | text | Only show operations tied to this resource, given as projects/{project_id}/{resource_type}/{resource_id}, optionally followed by /versions/{version_id}. Resource types: datasets, models, evaluators, recipes. Example: projects/9HPMJF5BMR-1/datasets/42. | |
--search | text | Only show operations whose display name matches this search text. | |
--sort-by | choice | Field to sort by. One of: created_at, status, type, updated_at. | |
--sort-direction | choice | Sort order. For a timestamp field, asc is oldest first and desc is newest first; otherwise lexical. | |
--status | choice | Only show operations in this status. One of: cancelled, cancelling, completed, failed, pending, running, unknown. | |
--type | choice | Only show operations of this type, e.g. model_training, evaluation or dataset_upload. An unknown value lists every accepted type. |
STOP
Request cancellation of a running operation.oumi-cli operations stop [OPTIONS] OPERATION_ID
| Argument | Type | Required | Description |
|---|---|---|---|
OPERATION_ID | integer | ✓ | ID of the operation to cancel (see operations list). |
| Option | Type | Required | Description |
|---|---|---|---|
--project | text | Project that owns the operation; falls back to OUMI_PROJECT_ID or the active profile. |
WAIT
Block until an operation finishes, then print its final state.oumi-cli operations wait [OPTIONS] OPERATION_ID
| Argument | Type | Required | Description |
|---|---|---|---|
OPERATION_ID | integer | ✓ | ID of the operation to wait for (see operations list). |
| Option | Type | Required | Description |
|---|---|---|---|
--project | text | Project that owns the operation; falls back to OUMI_PROJECT_ID or the active profile. | |
--timeout | integer | Give up after this many seconds. Default: 600. | |
--interval | integer | Seconds between status checks (minimum 1). Default: 5. |