> ## Documentation Index
> Fetch the complete documentation index at: https://docs.voiceflow.com/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 your Voiceflow project as a 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](/api-reference/environmentpublicapi/list-environments)                                                        | List all environments for the target assistant.                      |
| <Badge color="green" size="sm">GET</Badge> [Get traffic split](/api-reference/environmentpublicapi/get-traffic-split)                                                        | Get the current traffic split configuration for all environments.    |
| <Badge color="green" size="sm">GET</Badge> [Get environment](/api-reference/environmentpublicapi/get-environment)                                                            | Get a specific environment by ID or alias.                           |
| <Badge color="green" size="sm">GET</Badge> [Export environment JSON](/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](/api-reference/environmentpublicapi/create-environment)                                                      | Create a new environment by cloning another environment.             |
| <Badge color="blue" size="sm">POST</Badge> [Publish environment](/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](/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](/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](/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](/api-reference/secretsmanagementpublicapi/update-secret-environment-override-value) | Set or remove an environment-specific override for a secret.         |
