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

# Prompt management

> Manage prompts, versions, labels, and the environments they serve into.

Rendering a prompt for a call is covered in [Rendering prompts](/docs/reference/python-sdk/rendering-prompts). This page covers the lifecycle around it — creating and versioning prompts, moving labels, and managing environments.

## Prompt lifecycle

The `client.prompts` namespace covers prompt lifecycle and labeling. Each method takes keyword-only arguments.

* Prompts: `create`, `list`, `get`, `update`, `archive`.
* Versions: `create_version`, `list_versions`, `get_version`.
* Labels on a prompt: `move_label`, `list_labels`.
* Project labels: `list_project_labels`, `create_project_label`, `get_project_label`, `update_project_label`, `delete_project_label`, `list_project_label_usages`, `list_label_events`.

## Project environments

`client.project_environments` manages the environments a project serves into — the same environments a prompt release targets and that `render` resolves against. It exposes `list`, `get`, `create`, `update`, `archive`, and `restore`. Each method takes keyword-only arguments.
