---
title: "Gpu Allocation"
method: POST
path: "/gpu-allocation"
tags: ["General APIs with JWT"]
---

# Gpu Allocation

`POST /gpu-allocation`

## Request body

- GPUAllocationRequest
  - `rigs` Rig[], required
    - `gpu_name` string, required
    - `count` integer, required
    - `num_rigs` integer, required

## Response `200`

Successful Response

- GPUAllocationResponse
  - `rigs` RigResponse[], required
    - `label` string, required
    - `gpu_power` number, required
  - `validators` ValidatorResponse[], required
    - `validator_hotkey` string, required
    - `original_score` number, required
    - `stake` number, required
    - `final_score` number, required
    - `allocated_gpu_score` number, required
    - `fraction` number, required
    - `rigs_alloc` object, nullable

## Other responses

- `422` — Validation 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)
