> For the complete documentation index, see [llms.txt](https://docs.umbraco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.umbraco.com/umbraco-compose/content-orchestration/environments.md).

# Environments

Environments are isolated workspaces within a project that keep resources and data separate, and are managed through the Management API.

Environments are used to set up deployment workflows, roll out features, or keep test data isolated from production.

{% hint style="info" %}
A **production** environment is automatically created along with your project.
{% endhint %}

Create and manage existing environments using the [*/environments* endpoints](https://apidocs.umbracocompose.com/#tag/environments) in the Management API or directly from the Compose project.

Resources of the following types can be created in an environment:

* Collection
* IngestFunction
* TypeSchema
* Webhook
* PersistedDocument

See how different resources relate to each other here:

![Project resources in relation to each other](https://1598002001-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtrzaKUEixDATtGQPGwXB%2Fuploads%2Fgit-blob-92c3661ca5ce83118cba2603d07460d1239907c7%2Fproject-structure.png?alt=media)

{% hint style="info" %}
Across a single environment, resources of the same type need to be created with unique aliases.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.umbraco.com/umbraco-compose/content-orchestration/environments.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
