General APIs with JWT

Create a machine request

Changed on

Endpoint to create a machine request. The response's provider_notified_count is how many providers were e-mailed about it (those subscribed to the GPU type plus the one named, if any); 0 means nobody is subscribed to that GPU type right now.

post/machine-requests

Request

  • Base URL: https://lium.io/api
  • URL: https://lium.io/api/machine-requests
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Request body

machine_namestring required
gpu_countinteger nullable
cpustring nullable
ramstring nullable
storagestring nullable
locationstring nullable
extra_dataobject nullable
provider_hotkeystring nullable

Example request

{
  "cpu": "",
  "extra_data": {},
  "gpu_count": 8,
  "location": "USA",
  "machine_name": "NVIDIA H200",
  "ram": "32gb",
  "storage": "1T"
}

Response

Machine request created successfully

unknown required

Changes