> ## 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 dataset slice create

> Freeze the rows that match a filter, or every row, so the same slice always selects the same rows.

## Usage

```bash theme={null}
toloka dataset slice create [options] <name>
```

## Arguments

**name** `string` *required*

Dataset name or id.

## Options

**--name \<name>** `string`

A name to tell slices apart (default Slice 1, Slice 2 and so on).

**--filter \<field=value>** `string`

Freeze only rows whose field equals the value; repeat for more fields (default: every row).

Repeat this option to supply multiple values.

**--from \<slice-id>** `string`

Take an earlier slice again with its filter, picking up rows added or changed since.

**--freeze \<columns>** `string`

Comma-separated columns read as they were at the cutoff (default: every column); split columns are always frozen.

**--no-wait** `boolean`

Return as soon as the slice starts.

The `wait` setting defaults to `true`. This flag sets `wait` to `false`.

**--timeout \<ms>** `integer`

How long to wait for the rows to be frozen.

**--json** `boolean` (default: false)

Print JSON.

## 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).

See the [CLI guide](https://docs.platform.toloka.ai/docs/cli.md#manage-shared-datasets) 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.