Skip to main content

Usage

Options

string
default:"\"write\""
Permission preset.Choices: read, write, deploy, labeling-read, labeling-write, labeling-deploy.
string
Comma-separated resource:operation pairs instead of a preset.
integer
Lifetime in seconds (60..21600).
string
Comma-separated ids of further projects the token may act in (same team).

Inherited options

boolean
Output the current version.
string
Project root; otherwise search the working directory and parents; init and report use only the working directory.
string
API key override; login stores the key it verifies.Environment fallback: TOLOKA_SCOPED_TOKEN, TOLOKA_API_KEY.
string
Platform base URL override; login saves the selected URL.Environment fallback: TOLOKA_BASE_URL.
string
Target project; overrides toloka.json.Environment fallback: TOLOKA_PROJECT_ID.
See the CLI guide for the workflow, and environment variables and exit codes for shared behavior.