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

# toloka training

> Manage project Training drafts.

## Usage

```bash theme={null}
toloka training [options] [command]
```

## Inherited options

**-v, --version** `boolean`

Output the current version.

**--source-root \<directory>** `string`

Project root; otherwise search the working directory and parents; init and report use only the working directory.

**--api-key \<key>** `string`

API key override; login stores the key it verifies.

Environment fallback: [`TOLOKA_SCOPED_TOKEN`](https://docs.platform.toloka.ai/docs/cli/reference#environment-variables), [`TOLOKA_API_KEY`](https://docs.platform.toloka.ai/docs/cli/reference#environment-variables).

**--base-url \<url>** `string`

Platform base URL override; login saves the selected URL.

Environment fallback: [`TOLOKA_BASE_URL`](https://docs.platform.toloka.ai/docs/cli/reference#environment-variables).

**--project-id \<id>** `string`

Target project; overrides toloka.json.

Environment fallback: [`TOLOKA_PROJECT_ID`](https://docs.platform.toloka.ai/docs/cli/reference#environment-variables).

## Subcommands

| Command | Summary |
| - | - |
| [`toloka training list`](https://docs.platform.toloka.ai/docs/cli/reference/training/list) | List up to 100 active Trainings owned by the selected project (first page only). |
| [`toloka training get`](https://docs.platform.toloka.ai/docs/cli/reference/training/get) | Show one Training draft. |
| [`toloka training create`](https://docs.platform.toloka.ai/docs/cli/reference/training/create) | Create a Training draft. |
| [`toloka training update`](https://docs.platform.toloka.ai/docs/cli/reference/training/update) | Update a Training draft. Omitted hyperparameters keep their current values. |
| [`toloka training cost`](https://docs.platform.toloka.ai/docs/cli/reference/training/cost) | Validate Training inputs and calculate the maximum charge. |
| [`toloka training run`](https://docs.platform.toloka.ai/docs/cli/reference/training/run) | Calculate a ready Cost Estimate and create one queued Training Run. |
| [`toloka training runs`](https://docs.platform.toloka.ai/docs/cli/reference/training/runs) | List up to 100 Training Runs (first page only). |
| [`toloka training status`](https://docs.platform.toloka.ai/docs/cli/reference/training/status) | Show one Training Run. |
| [`toloka training resume`](https://docs.platform.toloka.ai/docs/cli/reference/training/resume) | Resume a Training Run blocked on funds or payment. |
| [`toloka training cancel`](https://docs.platform.toloka.ai/docs/cli/reference/training/cancel) | Cancel a Training Run before training completes. |
| [`toloka training metrics`](https://docs.platform.toloka.ai/docs/cli/reference/training/metrics) | Read Training Run metrics. |
| [`toloka training logs`](https://docs.platform.toloka.ai/docs/cli/reference/training/logs) | Read sanitized Training Run logs. |

See the [CLI guide](https://docs.platform.toloka.ai/docs/cli.md#train) for the workflow, and [environment variables and exit codes](https://docs.platform.toloka.ai/docs/cli/reference.md#environment-variables) for shared behavior.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.