## StartEnvironment `client.environments.start(EnvironmentStartParamsbody, RequestOptionsoptions?): EnvironmentStartResponse` **post** `/gitpod.v1.EnvironmentService/StartEnvironment` Starts a stopped environment. Use this method to resume work on a previously stopped environment. The environment retains its configuration and workspace content from when it was stopped. ### Examples - Start an environment: Resumes a previously stopped environment with its existing configuration. ```yaml environmentId: "07e03a28-65a5-4d98-b532-8ea67b188048" ``` ### Parameters - `body: EnvironmentStartParams` - `environmentId?: string` environment_id specifies which environment should be started. ### Returns - `EnvironmentStartResponse = unknown` ### Example ```typescript import Gitpod from '@gitpod/sdk'; const client = new Gitpod({ bearerToken: process.env['GITPOD_API_KEY'], // This is the default and can be omitted }); const response = await client.environments.start({ environmentId: '07e03a28-65a5-4d98-b532-8ea67b188048', }); console.log(response); ``` #### Response ```json {} ```