General APIs with JWT
Create a machine request
Changed onEndpoint 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
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
- info
the endpoint scheme security
APIKeyHeaderwas added to the API
- info
- info
added the new optional request property
- info