---
title: "POST /v1/{+environment}:loadSnapshot"
method: POST
path: "/v1/{+environment}:loadSnapshot"
tags: ["projects"]
---

# POST /v1/{+environment}:loadSnapshot

`POST /v1/{+environment}:loadSnapshot`

Loads a snapshot of a Cloud Composer environment. As a result of this operation, a snapshot of environment's specified in LoadSnapshotRequest is loaded into the environment.

## Path parameters

- `environment` string, required

## Request body

- LoadSnapshotRequest — Request to load a snapshot into a Cloud Composer environment.
  - `skipPypiPackagesInstallation` boolean — Whether or not to skip installing Pypi packages when loading the environment's state.
  - `snapshotPath` string — A Cloud Storage path to a snapshot to load, e.g.: "gs://my-bucket/snapshots/project_location_environment_timestamp".
  - `skipAirflowOverridesSetting` boolean — Whether or not to skip setting Airflow overrides when loading the environment's state.
  - `skipEnvironmentVariablesSetting` boolean — Whether or not to skip setting environment variables when loading the environment's state.
  - `skipGcsDataCopying` boolean — Whether or not to skip copying Cloud Storage data when loading the environment's state.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/composer.md) · [All operations](https://skmtc.dev/google/apis/composer/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/composer/revisions/6b68932082fa/schema)
