---
title: "Create Deployment"
method: POST
path: "/deployments/create"
---

# Create Deployment

`POST /deployments/create`

## Request

- The document declares no server URL.
- Auth: none declared

Creates a new deployment by uploading a configuration file.

## Query parameters

- `base_path` string
- `reload` boolean
- `local` boolean

## Request body `multipart/form-data`

- BodyCreateDeploymentDeploymentsCreatePost
  - `config_file` string, binary, required

## Response `200`

Successful Response

- DeploymentDefinition
  - `name` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/run-llama/apis/llamaindex-llama-deploy-api.md) - [All operations](https://skmtc.dev/run-llama/apis/llamaindex-llama-deploy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/run-llama/apis/llamaindex-llama-deploy-api/revisions/5ceeacddc3ab?raw)
