GetProjectCustomEnvironments
August 10, 2026 ยท View on GitHub
Internal representation of a custom environment with all required properties
Example Usage
import { GetProjectCustomEnvironments } from "@vercel/sdk/models/getprojectprojectsbuildmachinetype.js";
let value: GetProjectCustomEnvironments = {
id: "<id>",
slug: "<value>",
type: "development",
createdAt: 5257.74,
updatedAt: 8862.04,
};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | :heavy_check_mark: | Unique identifier for the custom environment (format: env_*) |
slug | string | :heavy_check_mark: | URL-friendly name of the environment |
type | models.GetProjectProjectsType | :heavy_check_mark: | The type of environment (production, preview, or development) |
description | string | :heavy_minus_sign: | Optional description of the environment's purpose |
branchMatcher | models.GetProjectBranchMatcher | :heavy_minus_sign: | Configuration for matching git branches to this environment |
domains | models.GetProjectDomains[] | :heavy_minus_sign: | List of domains associated with this environment |
currentDeploymentAliases | string[] | :heavy_minus_sign: | List of aliases for the current deployment |
createdAt | number | :heavy_check_mark: | Timestamp when the environment was created |
updatedAt | number | :heavy_check_mark: | Timestamp when the environment was last updated |