---
title: "Container Rentals Start"
method: POST
path: "/v1/containers"
tags: ["GPU Rentals"]
---

# Container Rentals Start

`POST /v1/containers`

## Headers

- `xi-api-key` string, nullable
- `x-api-key` string, nullable

## Request body

- ContainerRentalStartIn
  - `name` string, required — Container Name
  - `gpu_config` string, required — GPU config
  - `container_image` string, required — Container Image
  - `cloud_init_user_data` string, required — Cloud Init User Data

## Response `200`

Successful Response

- ContainerRentalStartOut
  - `container_id` string, required — Container Id

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `422` — Unprocessable Entity
- `429` — Too Many Requests

---

[API](https://skmtc.net/deepinfra/apis/deepinfra-api.md) · [All operations](https://skmtc.net/deepinfra/apis/deepinfra-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deepinfra/deepinfra-api/versions/51b817b3f80f/schema)
