## StartEnvironment `client.Environments.Start(ctx, body) (*EnvironmentStartResponse, error)` **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 param.Field[string]` environment_id specifies which environment should be started. ### Returns - `type EnvironmentStartResponse interface{…}` ### Example ```go package main import ( "context" "fmt" "github.com/gitpod-io/gitpod-sdk-go" "github.com/gitpod-io/gitpod-sdk-go/option" ) func main() { client := gitpod.NewClient( option.WithBearerToken("My Bearer Token"), ) response, err := client.Environments.Start(context.TODO(), gitpod.EnvironmentStartParams{ EnvironmentID: gitpod.F("07e03a28-65a5-4d98-b532-8ea67b188048"), }) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", response) } ``` #### Response ```json {} ```