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

FieldTypeRequiredDescription
idstring:heavy_check_mark:Unique identifier for the custom environment (format: env_*)
slugstring:heavy_check_mark:URL-friendly name of the environment
typemodels.GetProjectProjectsType:heavy_check_mark:The type of environment (production, preview, or development)
descriptionstring:heavy_minus_sign:Optional description of the environment's purpose
branchMatchermodels.GetProjectBranchMatcher:heavy_minus_sign:Configuration for matching git branches to this environment
domainsmodels.GetProjectDomains[]:heavy_minus_sign:List of domains associated with this environment
currentDeploymentAliasesstring[]:heavy_minus_sign:List of aliases for the current deployment
createdAtnumber:heavy_check_mark:Timestamp when the environment was created
updatedAtnumber:heavy_check_mark:Timestamp when the environment was last updated