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

# Project API

> Retrieve project files, manage assistant environments, and update secrets.

The Project API lets you export an environment of your Voiceflow project as a JSON file you can use for programmatic analysis or integration with third-party tooling. It also includes endpoints for listing, creating, publishing, and routing traffic across assistant environments, as well as managing environment-specific secret values.

## Available endpoints

| Endpoint | Description |
| --- | --- |
| **Environment** |  |
| <Badge color="green" size="sm">GET</Badge> [List environments](/docs/api-reference/environmentpublicapi/list-environments) | List all environments for the target assistant. |
| <Badge color="green" size="sm">GET</Badge> [Get traffic split](/docs/api-reference/environmentpublicapi/get-traffic-split) | Get the current traffic split configuration for all environments. |
| <Badge color="green" size="sm">GET</Badge> [Get environment](/docs/api-reference/environmentpublicapi/get-environment) | Get a specific environment by ID or alias. |
| <Badge color="green" size="sm">GET</Badge> [Export environment JSON](/docs/api-reference/environmentpublicapi/export-environment-json) | Export a specific environment by ID or alias as a JSON file. |
| <Badge color="blue" size="sm">POST</Badge> [Create environment](/docs/api-reference/environmentpublicapi/create-environment) | Create a new environment by cloning another environment. |
| <Badge color="blue" size="sm">POST</Badge> [Publish environment](/docs/api-reference/environmentpublicapi/publish-environment) | Publish an environment's draft as its new published version. |
| <Badge color="orange" size="sm">PATCH</Badge> [Update traffic split](/docs/api-reference/environmentpublicapi/update-traffic-split) | Update the traffic split configuration. Percentages must sum to 100. |
| <Badge color="red" size="sm">DELETE</Badge> [Delete environment](/docs/api-reference/environmentpublicapi/delete-a-project-environment) | Delete a specific environment by ID or alias. |
| **Secret** |  |
| <Badge color="orange" size="sm">PATCH</Badge> [Update secret default value](/docs/api-reference/secretsmanagementpublicapi/update-secret-default-value) | Update the default value of a secret across all environments. |
| <Badge color="orange" size="sm">PATCH</Badge> [Update secret environment override value](/docs/api-reference/secretsmanagementpublicapi/update-secret-environment-override-value) | Set or remove an environment-specific override for a secret. |
