further document the api
This commit is contained in:
parent
cd2f68df65
commit
3dd96447e9
1 changed files with 65 additions and 63 deletions
|
@ -1,67 +1,69 @@
|
||||||
|
lines starting with with N are not included in code
|
||||||
|
|
||||||
{
|
{
|
||||||
"id": "int",
|
"id": "int", // the instance id
|
||||||
"bundle_id": "int",
|
N"bundle_id": "int",
|
||||||
"bw_nvlink": "float",
|
N"bw_nvlink": "float",
|
||||||
"compute_cap": "int",
|
"compute_cap": "int", // not sure, but related to gpu series
|
||||||
"cpu_arch": "str",
|
"cpu_arch": "str", // cpu architecture
|
||||||
"cpu_cores": "int",
|
"cpu_cores": "int", // total cpu cores
|
||||||
"cpu_cores_effective": "float",
|
"cpu_cores_effective": "float", // available cpu cores on instance
|
||||||
"cpu_name": "str",
|
"cpu_name": "str", // the cpu name
|
||||||
"cpu_ram": "int",
|
"cpu_ram": "int", // memory available on instance in MB
|
||||||
"credit_discount_max": "float",
|
"credit_discount_max": "float",
|
||||||
"cuda_max_good": "float",
|
"cuda_max_good": "float", // "max cuda" on website
|
||||||
"direct_port_count": "int",
|
"direct_port_count": "int", // how many open ports
|
||||||
"disk_bw": "float",
|
"disk_bw": "float", // disk bandwidth (?) in MB/s
|
||||||
"disk_name": "str",
|
"disk_name": "str", // disk "name" which doesn't always make sense
|
||||||
"disk_space": "float",
|
"disk_space": "float", // available disk space on host
|
||||||
"dlperf": "float",
|
"dlperf": "float", // Deep Learning Performance as on site
|
||||||
"dlperf_per_dphtotal": "float",
|
N"dlperf_per_dphtotal": "float", // dlperf divided by dph_total
|
||||||
"dph_base": "float",
|
"dph_base": "float", // dollars per hour excluding storage costs
|
||||||
"dph_total": "float",
|
N"dph_total": "float", // dollars per hour including storage costs (storage is set in request)
|
||||||
"driver_version": "str",
|
"driver_version": "str", // self explanatory
|
||||||
"duration": "float",
|
N"duration": "float", // the length of time the instance can be rented, in seconds, the site assumes all months have 30 days
|
||||||
"end_date": "float",
|
"end_date": "float", // when instance will expire as unix timestamp, basically the above
|
||||||
"external": "NoneType",
|
N"external": "bool?", // null if not rented, otherwise not sure but seems always false
|
||||||
"flops_per_dphtotal": "float",
|
N"flops_per_dphtotal": "float", // total_flops divided by dph_total
|
||||||
"geolocation": "str",
|
"geolocation": "str", // formatted as City, CC
|
||||||
"gpu_display_active": "bool",
|
N"gpu_display_active": "bool",
|
||||||
"gpu_frac": "float",
|
"gpu_frac": "float", // percentage of system ram available to instance
|
||||||
"gpu_lanes": "int",
|
"gpu_lanes": "int", // pcie gpu lanes
|
||||||
"gpu_mem_bw": "float",
|
"gpu_mem_bw": "float", // vram bandwidth in GB/s
|
||||||
"gpu_name": "str",
|
"gpu_name": "str", // the gpu name
|
||||||
"gpu_ram": "int",
|
"gpu_ram": "int", // vram in MB
|
||||||
"has_avx": "int",
|
N"has_avx": "int", // if the cpu has avx which is almost always
|
||||||
"host_id": "int",
|
"host_id": "int", // host's id
|
||||||
"hosting_type": "int",
|
"hosting_type": "int", // 0 normal, 1 datacenter
|
||||||
"inet_down": "float",
|
"inet_down": "float", // download speed in Mbps
|
||||||
"inet_down_cost": "float",
|
"inet_down_cost": "float", // cost of 1 GB of download (on site it shows TB as 1024)
|
||||||
"inet_up": "float",
|
"inet_up": "float", // upload speed in Mbps
|
||||||
"inet_up_cost": "float",
|
"inet_up_cost": "float", // cost of 1 GB of upload (on site it shows TB as 1024)
|
||||||
"is_bid": "bool",
|
"is_bid": "bool", // if you're bidding this instance, always false in marketplace (or not?)
|
||||||
"logo": "str",
|
N"logo": "str", // the logo, displayed on the website on the left side, it's constant now but I remember it being different for some machines
|
||||||
"machine_id": "int",
|
"machine_id": "int", // self explanatory
|
||||||
"min_bid": "float",
|
"min_bid": "float", // the minimum bid you can make, as dph. website shows more I don't know why
|
||||||
"mobo_name": "str",
|
"mobo_name": "str", // motherboard name, like disk name doesn't always make sense
|
||||||
"num_gpus": "int",
|
"num_gpus": "int", // self explanatory
|
||||||
"os_version": "str",
|
N"os_version": "str", // ubuntu version running on the machine
|
||||||
"pci_gen": "float",
|
"pci_gen": "float", // pcie version
|
||||||
"pcie_bw": "float",
|
"pcie_bw": "float", // pcie bandwidth in GB/s
|
||||||
"public_ipaddr": "str",
|
"public_ipaddr": "str", // public ip address of the machine
|
||||||
"rentable": "bool",
|
"rentable": "bool", // is the machine available for rental
|
||||||
"score": "float",
|
N"score": "float",
|
||||||
"start_date": "float",
|
"start_date": "float", // unix seconds, since when the instance is available for rental (or is rented if rented by you), at least I think because it's recent and unavailable machines don't have that
|
||||||
"static_ip": "bool",
|
"static_ip": "bool", // self explanatory but not sure if matters
|
||||||
"storage_cost": "float",
|
"storage_cost": "float", // storage cost 1 GB / 30 days (720 hours)
|
||||||
"storage_total_cost": "float",
|
N"storage_total_cost": "float", // cost of storage per hour (size provided in query)
|
||||||
"total_flops": "float",
|
"total_flops": "float",
|
||||||
"verification": "str",
|
"verification": "str", // verified / unverified / deverified
|
||||||
"vram_costperhour": "float",
|
N"vram_costperhour": "float",
|
||||||
"webpage": "NoneType",
|
N"webpage": "NoneType",
|
||||||
"reliability2": "float",
|
"reliability2": "float", // reliability of the machine
|
||||||
"search": "dict",
|
N"search": "dict", // the cost of the machine with specific parameters, mostly repeating what was already provided and the rest can be calculated
|
||||||
"instance": "dict",
|
N"instance": "dict",
|
||||||
"time_remaining": "str",
|
N"time_remaining": "str",
|
||||||
"time_remaining_isbid": "str",
|
N"time_remaining_isbid": "str",
|
||||||
"internet_up_cost_per_tb": "float",
|
N"internet_up_cost_per_tb": "float", // cost of 1 TiB of upload (because inet_down_cost is for 1 GB)
|
||||||
"internet_down_cost_per_tb": "float"
|
N"internet_down_cost_per_tb": "float" // cost of 1 TiB of download (because inet_down_cost is for 1 GB)
|
||||||
}
|
}
|
Loading…
Reference in a new issue