Skip to main content
The job command lets you create and manage batch compute jobs on VESSL Cloud. Jobs run a command to completion on a specified cluster and resource configuration.
vesslctl job create command showing all available flags

list

List jobs in the current team.
vesslctl job list
FlagShortDescription
--state-sFilter by job state (for example, running, completed, failed)
--pagePage number for pagination
--per-pageNumber of results per page
--hide-deletedHide cancelled and terminated jobs
Example:
vesslctl job list --state running --per-page 20

show

Display detailed information about a specific job.
vesslctl job show <slug>
ArgumentDescription
slugUnique identifier of the job

create

Create and submit a new job. You can provide configuration inline with flags or using a JSON file.
vesslctl job create --name my-job --resource-spec <slug> --image <image> --cmd "python train.py"
FlagShortRequiredDescription
--file-fNoPath to a JSON config file (alternative to inline flags)
--name-nYesName for the job
--resource-spec-rYesResource spec slug (cluster is derived automatically)
--image-iYesContainer image to use
--cmdYesCommand to execute
--env-eNoEnvironment variable in KEY=VALUE format (repeatable)
--object-volumeNoMount an object volume as SLUG:MOUNT_PATH (repeatable)
--cluster-volumeNoMount a cluster volume as SLUG:MOUNT_PATH (repeatable)
--image-pull-policyNoImage pull policy: Always or IfNotPresent
--tagNoTag value to attach (repeatable, auto-creates if not exists)
Example with inline flags:
vesslctl job create \
  --name my-training-job \
  --resource-spec <spec-name> \
  --image quay.io/vessl-ai/torch:2.9.1-cuda13.0.1-py3.13-slim \
  --cmd "python train.py --epochs 10" \
  --env WANDB_API_KEY=<your-key> \
  --object-volume <volume-slug>:/data
Run vesslctl cluster list and vesslctl resource-spec list to see available clusters and GPU specs.
Example with a JSON config file:
vesslctl job create --file job-config.json

terminate

Terminate a running job.
vesslctl job terminate <slug>
FlagShortDescription
--yes-ySkip confirmation prompt

export

Export a job’s configuration as JSON. Useful for reusing or version-controlling job configs.
vesslctl job export <slug>
Pipe the output to a file to save it:
vesslctl job export my-job-abc123 > job-config.json

logs

View logs from a job.
vesslctl job logs <slug>
FlagShortDefaultDescription
--limit100Number of log lines to return
--follow-fStream logs in real time
Example:
vesslctl job logs my-job-abc123 --follow

tag

Manage tags on a job. See vesslctl tag for details on job tag attach and job tag detach.