Account and rentals
Rent a machine
Rent a machine now. Billing by the second from the account's credit starts at once.
POST
Rent a machine now. Billing by the second from the account's credit starts at once.
apiKeyheader
AuthorizationBearer <token>A key created in the console under API keys, sent as Authorization: Bearer vox_…
application/json- body
offerId*stringid of a machine from /api/v1/offers.
sshKey*stringSSH public key to install for root. Never a private key.
image?stringDefault
"ubuntu"Value in
"llama-cpp""pytorch""comfyui""ubuntu"diskGb?integerDisk to allocate, GB, up to what the machine has free. Part of the hourly price.
Default
40Value in
2040100200500The rental, status provisioning.
application/json- response
id?stringstatus?stringValue in
"provisioning""running""stopped""failed"machine?stringspecs?stringlocation?stringofferId?stringimage?stringpricePerHour?numberUSD per hour, fixed for this rental.
chargedUsd?numberMachine time charged so far.
diskGb?|Disk allocated, GB. Null when the disk is part of the machine.
transferUsd?numberData transfer charged so far.
startedAt?stringFormat
date-timestoppedAt?|Format
date-timestopReason?string|nullssh?|Present once status is running.
curl -X POST 'https://gpuvox.com/api/v1/rentals' \ -H 'Content-Type: application/json' \ -d '{ "offerId": "string", "sshKey": "string"}'Example Response
{ "id": "string", "status": "provisioning", "machine": "string", "specs": "string", "location": "string", "offerId": "string", "image": "string", "pricePerHour": 0, "chargedUsd": 0, "diskGb": 0, "transferUsd": 0, "startedAt": "2019-08-24T14:15:22Z", "stoppedAt": "2019-08-24T14:15:22Z", "stopReason": "string", "ssh": { "host": "string", "port": 0, "user": "string", "command": "string" }}