Installation
After installing the SDK, the CLI is available as thesimplismart command:
Global Options
These options apply to all CLI commands:| Option | Description | Default |
|---|---|---|
--pg-token TOKEN | Playground token | Falls back to SIMPLISMART_PG_TOKEN env var |
--base-url URL | API base URL | https://api.app.simplismart.ai |
--timeout SECONDS | Request timeout | 300 |
--trace-id ID | Optional trace/correlation ID | Generated per request |
Model Repos Commands
Manage model repositories usingsimplismart model-repos.
List Model Repos
Lists model repositories with optional filtering.| Option | Description |
|---|---|
--org-id UUID | Organization ID (optional if derived from PG token) |
--offset N | Pagination offset (default: 0) |
--count N | Page size (default: 5) |
--model-id UUID | Fetch specific model repo by ID |
--name NAME | Filter by model name (contains match) |
--status STATUS | Filter by status |
--model-type TYPE | Filter by model type |
--created-by EMAIL | Filter by creator email |
Status Options
| Value | Description |
|---|---|
SUCCESS | Model repo is ready |
FAILED | Model repo creation failed |
DELETED | Model repo has been deleted |
PROGRESSING | Model repo is being created |
Get Model Repo
Gets details of a specific model repository.| Option | Description |
|---|---|
--model-id UUID | Model repo UUID (required) |
--org-id UUID | Organization ID (optional) |
Get Model Profiles
Generates/resolves the model profile from a source type and path. Returns the optimization combinations available for that model (quantizations, machines, and parallelism options).| Option | Description |
|---|---|
--type TYPE | Source type (required) - e.g., hf, s3, azure_blob |
--path PATH | Source path (required) |
--secret-id UUID | Secret UUID (optional) |
profile object containing:
- model_info —
type,architecture,param_size,default_quantization - quantizations — map of quantization (e.g.
float16,fp8,int4) to list of supportedmachines - combinations — list of valid (quantization, machine, parallelism) combinations; each has
quantization,machine,tensor_parallelism,data_parallelism,pipeline_parallelism,expert_parallelism(each a list of allowed values)
Bring Your Own Container Model Repo
Bring your own container.| Option | Description |
|---|---|
--name NAME | Model repo name (required) |
--org-id UUID | Organization ID (required) |
--source-type TYPE | Source type (required) - docker_hub, depot, nvidiadockersecret |
--runtime-gpus N | Runtime GPU count (required) |
--source-secret UUID | Source secret UUID (required for registry sources) |
--registry-path PATH | Registry path/repo (required) |
--docker-tag TAG | Image tag (required) |
--env KEY=VALUE | Environment variable (can be repeated) |
--healthcheck JSON/@file | JSON or file path for healthcheck |
--ports JSON/@file | JSON or file path for ports |
--metrics-path JSON/@file | JSON array or file path for metrics paths |
--deployment-custom-configuration JSON/@file | Custom deployment config |
Create Private Compile Model Repo
Creates a private compile model repository: the platform compiles the model from a source (e.g. Hugging Face) using config files for model, optimisation, and pipeline.| Option | Description |
|---|---|
--name NAME | Model repo name (required) |
--avatar-url URL | Avatar image URL (required) |
--source-type TYPE | Source type (required) - e.g. huggingface |
--source-url URL | Source path/URL (required) - e.g. HF repo id |
--model-class CLASS | Model class (required) - e.g. LlamaForCausalLM |
--accelerator-type TYPE | Accelerator type (required) - e.g. nvidia-h100 |
--model-config JSON/@file | Model config (see below). |
--optimisation-config JSON/@file | Optimisation config (see below). |
--pipeline-config JSON/@file | Pipeline config (see below). |
--org-id UUID | Organization UUID (optional if from PG token) |
--accelerator-count N | Accelerator count (default: 0) |
--cloud-account UUID | Cloud account UUID |
--source-secret UUID | Secret UUID for source access |
--description TEXT | Description |
--avatar-font-color COLOR | Avatar font color |
--avatar-background-color COLOR | Avatar background color |
--env KEY=VALUE | Environment variable (repeatable) |
--tasks JSON/@file | Tasks list |
--tags JSON/@file | Tags object |
--output-metadata JSON/@file | Output metadata |
--additional-details JSON/@file | Additional details |
Delete Model Repo
Deletes a model repository.| Option | Description |
|---|---|
--model-id UUID | Model repo UUID (required) |
Deployments Commands
Manage deployments usingsimplismart deployments.
List Deployments
Lists deployments with optional filtering.| Option | Description |
|---|---|
--model-repo-id UUID | Filter by model repo UUID |
--status STATUS | Filter by status |
--offset N | Pagination offset (default: 0) |
--count N | Page size (default: 20) |
Status Options
| Value | Description |
|---|---|
DEPLOYED | Deployment is running |
PENDING | Deployment is being created |
FAILED | Deployment failed |
STOPPED | Deployment is stopped |
DELETED | Deployment has been deleted |
Create Private Deployment
Creates a private deployment for a model repo.| Option | Description |
|---|---|
--model-repo UUID | Model repo UUID (required) |
--org UUID | Organization UUID (required) |
--gpu-id ID | GPU type (required) - e.g., nvidia-h100, A10 |
--name NAME | Deployment name (required) |
--min-pod-replicas N | Minimum pod replicas (required) |
--max-pod-replicas N | Maximum pod replicas (required) |
--autoscale-config JSON/@file | Autoscaling config (required) |
--env-variables JSON/@file | Environment variables |
--deployment-custom-configuration JSON/@file | Custom deployment config |
--healthcheck JSON/@file | Health check config |
--ports JSON/@file | Port mappings |
--metrics-path JSON/@file | Metrics paths |
--persistent-volume-claims JSON/@file | PVC configurations |
--fast-scaleup | Enable fast scale up |
--deployment-tag TAG | Deployment tag |
autoscale.json contains:
Get Deployment
Gets deployment details by ID.| Option | Description |
|---|---|
--deployment-id UUID | Deployment UUID (required) |
Update Deployment
Updates deployment configuration.| Option | Description |
|---|---|
--deployment-id UUID | Deployment UUID (required) |
--payload JSON/@file | JSON object with editable fields (required) |
Stop Deployment
Stops a running deployment.| Option | Description |
|---|---|
--deployment-id UUID | Deployment UUID (required) |
Start Deployment
Starts a stopped deployment.| Option | Description |
|---|---|
--deployment-id UUID | Deployment UUID (required) |
Scale Deployment
Updates deployment autoscaling configuration.| Option | Description |
|---|---|
--deployment-id UUID | Deployment UUID (required) |
--min-replicas N | Minimum replicas (required) |
--max-replicas N | Maximum replicas (required) |
Delete Deployment
Deletes a deployment.| Option | Description |
|---|---|
--deployment-id UUID | Deployment UUID (required) |
--org-id UUID | Organization ID (optional) |
Secrets Commands
Manage secrets usingsimplismart secrets.
Create Secret
Creates a secret for an organization.| Option | Description |
|---|---|
--org-id UUID | Organization UUID (required) |
--name NAME | Secret name (required) |
--secret-type TYPE | Secret type (required) - e.g., docker_hub |
--data JSON/@file | Secret data as JSON (required) |
secret-data.json contains:
List Secrets
Lists secrets for an organization.| Option | Description |
|---|---|
--org-id UUID | Organization UUID (required) |
Get Secret
Gets details of a specific secret.| Option | Description |
|---|---|
--secret-id UUID | Secret UUID (required) |
JSON File Input
Many CLI commands accept JSON input via file path using the@ prefix:
Error Handling
CLI errors are returned as JSON:Quick Reference
| Task | Command |
|---|---|
| List model repos | simplismart model-repos list --org-id $ORG_ID |
| Create model repo (container) | simplismart model-repos create-container --name <name> --org-id $ORG_ID --source-type docker_hub --runtime-gpus 1 --source-secret <SECRET_ID> --registry-path <path> --docker-tag <tag> |
| Create model repo (private compile) | simplismart model-repos create-private-compile --name <name> --avatar-url <url> --source-type huggingface --source-url <path> --model-class <class> --accelerator-type <type> --model-config @model_config.json --optimisation-config @optimisation_config.json --pipeline-config @pipeline_config.json |
| List deployments | simplismart deployments list |
| Create deployment | simplismart deployments create --model-repo <ID> --org $ORG_ID --gpu-id nvidia-h100 --name <name> --min-pod-replicas 1 --max-pod-replicas 2 --autoscale-config @config.json |
| Stop deployment | simplismart deployments stop --deployment-id <ID> |
| Start deployment | simplismart deployments start --deployment-id <ID> |
| Delete deployment | simplismart deployments delete --deployment-id <ID> |
| Create secret | simplismart secrets create --org-id $ORG_ID --name <name> --secret-type docker_hub --data @data.json |
| List secrets | simplismart secrets list --org-id $ORG_ID |