# Environment

A deployment target inside a project; its services + domains are fetched separately.

**Attributes** (`EnvironmentDto`)

- `id` · `string` · read-only — Unique identifier of the environment.
- `accountId` · `string` · read-only — Id of the account that owns the environment.
- `projectId` · `string` · read-only — Id of the project this environment belongs to.
- `name` · `string` · required — The environment’s IDENTITY: an immutable, project-unique, url-safe word picked at create (e.g. production, staging). There is no separate display name.
- `createdAt` · `string <date-time>` · read-only — Read-only: when the environment was created.

**Example `EnvironmentDto`**

```json
{
  "id": "env_01example0000000000000000x",
  "accountId": "acct_01example0000000000000000x",
  "projectId": "project_01example0000000000000000x",
  "name": "my-app",
  "createdAt": "2026-01-01T00:00:00.000Z"
}
```
