Account and rentals
Get a rental
One rental, brought up to date. Poll until status is running.
GET
One rental, brought up to date. Poll until status is running.
apiKeyheader
AuthorizationBearer <token>A key created in the console under API keys, sent as Authorization: Bearer vox_…
id*stringThe rental.
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 GET 'https://gpuvox.com/api/v1/rentals/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" }}