> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flex.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# training logs

> Stream or retrieve logs from a running or completed training job

Displays the logs from a Training Job. The logs include information about the job's execution, including any output from the training script.

## Usage

```bash theme={null}
flexai training logs <training_or_fine_tuning_job_name> [flags]
```

## Arguments

| Argument                           | Type   | Required | Description                                    |
| ---------------------------------- | ------ | -------- | ---------------------------------------------- |
| `training_or_fine_tuning_job_name` | string | Yes      | The name of the Training Job to view logs for. |

## Flags

| Flag         | Short | Type    | Description                                      |
| ------------ | ----- | ------- | ------------------------------------------------ |
| `--help`     | `-h`  | boolean | Displays this help page.                         |
| `--no-color` |       | boolean | Disables color formatting in the log output.     |
| `--verbose`  | `-v`  | boolean | Provides more detailed output when viewing logs. |
