---
title: "Create a machine request"
method: POST
path: "/machine-requests"
tags: ["General APIs with JWT"]
---

# Create a machine request

`POST /machine-requests`

Endpoint to create a machine request.

## Request body

- MachineRequestDto
  - `machine_name` string, required
  - `gpu_count` integer, nullable
  - `cpu` string, nullable
  - `ram` string, nullable
  - `storage` string, nullable
  - `location` string, nullable
  - `extra_data` object, nullable

## Response `200`

Machine request created successfully

- unknown

## Other responses

- `422` — Validation Error
- `500` — Internal server error

---

[API](https://skmtc.dev/lium/apis/lium-backend-api.md) · [All operations](https://skmtc.dev/lium/apis/lium-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lium/lium-backend-api/revisions/57db0a9348db/schema)
