> ## 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/typescript-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 a single options object.

* Prompts: `create`, `list`, `get`, `update`, `archive`.
* Versions: `createVersion`, `listVersions`, `getVersion`.
* Labels on a prompt: `moveLabel`, `listLabels`.
* Project labels: `listProjectLabels`, `createProjectLabel`, `getProjectLabel`, `updateProjectLabel`, `deleteProjectLabel`, `listProjectLabelUsages`, `listLabelEvents`.

## Project environments

`client.projectEnvironments` 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 a single options object.
