# tkt project, token, login, logout

A `tkt project`, `tkt token`, `tkt login`, `tkt logout` és `tkt ai` 13 parancsa, a futó kódból generálva.

## tkt project

### `tkt project delete`

`DELETE /v1/projects/{project_id}` · \[L\] local

Delete the project on the server (admin): its tokens, LLM usage and caps, id counters and claim leases

`--confirm` `--server` `--project`

[Útmutató: Projektek és tokenek](/docs/guides/team/projects.md#team-project-delete)

### `tkt project register <url>`

`POST /v1/projects` · \[L\] local

Register a project on the server; you become its admin

`--name` `--as` `--force` `--operator`

[Útmutató: Projektek és tokenek](/docs/guides/team/projects.md#team-projects)

## tkt project llm

### `tkt project llm cache <state>:<on|off>`

`PATCH /v1/projects/{project_id}` · \[L\] local

Switch the server's cache of the project's LLM answers (on by default)

`--server` `--project`

[Útmutató: Csapat-AI](/docs/guides/team/team-ai.md#team-llm-admin)

### `tkt project llm disable`

`PATCH /v1/projects/{project_id}` · \[L\] local

Switch the project's server LLM off; the CLI falls back to a local provider or none

`--server` `--project`

[Útmutató: Csapat-AI](/docs/guides/team/team-ai.md#team-llm-admin)

### `tkt project llm enable`

`PATCH /v1/projects/{project_id}` · \[L\] local

Make the server the project's default LLM

`--server` `--project`

[Útmutató: Csapat-AI](/docs/guides/team/team-ai.md#team-llm-admin)

### `tkt project llm usage`

`GET /v1/projects/{project_id}/llm/usage` · \[L\] local

The project's AI budget as a share used (its plan's credits, never tokens), the calls made today and this month (UTC), and the answer cache's hits

`--by-token` `--server` `--project`

[Útmutató: Csapat-AI](/docs/guides/team/team-ai.md#team-llm-admin)

## tkt token

### `tkt token create <name>`

`POST /v1/projects/{project_id}/tokens` · \[L\] local

Create a named token and print it once

`--role` `--llm` `--expires` `--server` `--project`

[Útmutató: Projektek és tokenek](/docs/guides/team/projects.md#team-projects)

### `tkt token list`

`GET /v1/projects/{project_id}/tokens` · \[L\] local

The project's tokens: name, role, llm, created, expires, last used: never the token

`--server` `--project`

[Útmutató: Projektek és tokenek](/docs/guides/team/projects.md#team-projects)

### `tkt token revoke <name>`

`DELETE /v1/projects/{project_id}/tokens/{name}` · \[L\] local

Revoke a token

`--server` `--project`

[Útmutató: Projektek és tokenek](/docs/guides/team/projects.md#team-projects)

### `tkt token update <name>`

`PATCH /v1/projects/{project_id}/tokens/{name}` · \[L\] local

Change a token's role, LLM grant or expiry

`--role` `--llm/--no-llm` `--expires` `--no-expires` `--server` `--project`

[Útmutató: Projektek és tokenek](/docs/guides/team/projects.md#team-projects)

## tkt login

### `tkt login [url]`

`GET /v1/projects/{project_id}/whoami` · \[L\] local

Store a token your project admin gave you

`--project`

[Útmutató: Projektek és tokenek](/docs/guides/team/projects.md#team-projects)

## tkt logout

### `tkt logout [url]`

\[L\] local

Forget the stored token of this project (the server keeps it: ask the admin to revoke)

`--project`

[Útmutató: Projektek és tokenek](/docs/guides/team/projects.md#team-projects)

## tkt ai

### `tkt ai doctor`

\[L\] local

Show the AI layers (embedding, LLM): a summary of the provider each uses, the setting that chose it, where the text goes and whether it fails; then this machine, a check of each provider with its fix, and the steps to set up each option

`--embed-provider` `--llm-provider` `--live` `--all`

[Útmutató: AI-rétegek](/docs/guides/team/ai-layers.md#team-ai-layers)
