---
title: "Prepare Environment Handler"
method: POST
path: "/api/settings/environment/prepare"
tags: ["runtime_mutations", "settings"]
---

# Prepare Environment Handler

`POST /api/settings/environment/prepare`

## Request body

- EnvironmentPrepareRequest
  - `profile_name` string, nullable
  - `language` 'python' | 'julia' | 'r'

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-18** `abf76937a751` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/changes/api/settings/environment/prepare/post.md)

---

[API](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/revisions/397ad3a1d858?raw)
