thoa jobs
The thoa jobs command group lets you view and inspect jobs you have previously run, stream logs from a running job, and cancel one if needed.
Each job record includes execution status, timestamps, compute specs, and links to input and output datasets.
Examples
List your most recent jobs
thoa jobs list
Show the 5 newest jobs
thoa jobs list --number 5
Sort jobs alphabetically by status
thoa jobs list --sort-by status --asc
Show full details for a job
thoa jobs get <JOB_UUID>
Attach to a running job and stream its logs
thoa jobs attach <JOB_UUID>
Cancel a running job
thoa jobs cancel <JOB_UUID>
Commands
thoa jobs list
Displays a table of your jobs with the following columns:
| Column | Description |
|---|---|
| Name | Job name (or auto-generated ID if no name was specified) |
| ID | Full job UUID |
| Started | When the job began executing |
| Status | created, running, completed, failed, … |
| Input Dataset | First 8 characters of the input dataset's ID (use thoa dataset list to match the full ID) |
| Output Dataset | First 8 characters of the output dataset's ID. Pass the full ID to thoa dataset download to pull down the job's results |
thoa jobs list
| Flag | Description |
|---|---|
--number, -n | Limit how many jobs to display |
--sort-by, -s | Sort field: started or status (default: started) |
--asc | Sort in ascending order (default: descending) |
thoa jobs get <JOB_UUID>
Shows full details for a single job.
thoa jobs get 157d2823-xxxx-xxxx-xxxx-xxxxxxxxxxxx
thoa jobs attach <JOB_UUID>
Attaches to a job and streams its logs to your terminal in real time. If the job hasn't started running yet, waits for it to start. If the job has already finished, prints its final status instead of streaming.
thoa jobs attach 157d2823-xxxx-xxxx-xxxx-xxxxxxxxxxxx
thoa jobs cancel <JOB_UUID>
Cancels a running or in-progress job.
thoa jobs cancel 157d2823-xxxx-xxxx-xxxx-xxxxxxxxxxxx