Authorizations
Query Parameters
Available options:
USD
, RUB
, QOIN
Available options:
ru
, en
curl --request GET \
--url https://api.qudata.ai/v0/instances \
--header 'X-Api-Key: <api-key>'
{
"ok": true,
"data": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"renter_id": "<string>",
"total_cost": 123,
"provider_id": "<string>",
"offer_id": "<string>",
"user_id": "<string>",
"template_id": "<string>",
"is_active": true,
"disk": 0,
"attached_ssh_keys": [],
"ssh_idx": "<string>",
"ssh_host": "<string>",
"ssh_port": 123,
"actual_status": "running",
"intended_status": "running",
"current_state": "active",
"next_state": "active",
"template_hash_id": "<string>",
"image_uuid": "<string>",
"image_args": [],
"image_runtype": "<string>",
"extra_env": "<any>",
"on_start_command": "<string>",
"label": "<string>",
"jupyter_token": "<string>",
"status_msg": "<string>",
"gpu_util": 123,
"gpu_arch": "<string>",
"disk_util": 123,
"disk_usage": 123,
"gpu_temperature": 123,
"cuda_max_version": 123,
"driver_version": "<string>",
"public_ip": "<string>",
"local_ips": [],
"direct_port_end": 123,
"direct_port_start": 123,
"cpu_util": 123,
"mem_usage": 123,
"mem_limit": 123,
"vmem_usage": 123,
"machine_dir_ssh_port": 123,
"uptime_minutes": 123,
"ports": [
"<any>"
],
"ssh_username": "root",
"price": 0,
"disk_price": 0,
"is_reserved": false,
"reserved_until": "2023-11-07T05:31:56Z",
"offer": {
"id": "<string>",
"provider": {
"id": "<string>",
"name": "<string>",
"translit_name": "<string>",
"country": "<string>",
"logo": "<string>",
"meta_title": "<string>",
"meta_description": "<string>",
"use_vpn": true
},
"gpu_amount": 123,
"gpu_name": "<string>",
"gpu_translit_name": "<string>",
"vram": 123,
"prices": [],
"location": {
"city": "<string>",
"country": "<string>",
"region": "<string>"
},
"configuration": {
"ram": {
"amount": 123,
"unit": "gb"
},
"disk": {
"amount": 123,
"unit": "gb"
},
"cpu_name": "<string>",
"vcpu": 123,
"cpu_cores": 123,
"cpu_freq": 123,
"memory_speed": 123,
"ethernet_in": 123,
"ethernet_out": 123,
"capacity": 123,
"max_cuda_version": 123
},
"extra": {},
"url": "<string>",
"in_stock": true,
"rentable": true,
"is_third_party": true,
"offers_amount": 0,
"countries_amount": 0,
"disk_prices": []
}
}
],
"total_items": 0
}
Returns the list of rented instances
curl --request GET \
--url https://api.qudata.ai/v0/instances \
--header 'X-Api-Key: <api-key>'
{
"ok": true,
"data": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"renter_id": "<string>",
"total_cost": 123,
"provider_id": "<string>",
"offer_id": "<string>",
"user_id": "<string>",
"template_id": "<string>",
"is_active": true,
"disk": 0,
"attached_ssh_keys": [],
"ssh_idx": "<string>",
"ssh_host": "<string>",
"ssh_port": 123,
"actual_status": "running",
"intended_status": "running",
"current_state": "active",
"next_state": "active",
"template_hash_id": "<string>",
"image_uuid": "<string>",
"image_args": [],
"image_runtype": "<string>",
"extra_env": "<any>",
"on_start_command": "<string>",
"label": "<string>",
"jupyter_token": "<string>",
"status_msg": "<string>",
"gpu_util": 123,
"gpu_arch": "<string>",
"disk_util": 123,
"disk_usage": 123,
"gpu_temperature": 123,
"cuda_max_version": 123,
"driver_version": "<string>",
"public_ip": "<string>",
"local_ips": [],
"direct_port_end": 123,
"direct_port_start": 123,
"cpu_util": 123,
"mem_usage": 123,
"mem_limit": 123,
"vmem_usage": 123,
"machine_dir_ssh_port": 123,
"uptime_minutes": 123,
"ports": [
"<any>"
],
"ssh_username": "root",
"price": 0,
"disk_price": 0,
"is_reserved": false,
"reserved_until": "2023-11-07T05:31:56Z",
"offer": {
"id": "<string>",
"provider": {
"id": "<string>",
"name": "<string>",
"translit_name": "<string>",
"country": "<string>",
"logo": "<string>",
"meta_title": "<string>",
"meta_description": "<string>",
"use_vpn": true
},
"gpu_amount": 123,
"gpu_name": "<string>",
"gpu_translit_name": "<string>",
"vram": 123,
"prices": [],
"location": {
"city": "<string>",
"country": "<string>",
"region": "<string>"
},
"configuration": {
"ram": {
"amount": 123,
"unit": "gb"
},
"disk": {
"amount": 123,
"unit": "gb"
},
"cpu_name": "<string>",
"vcpu": 123,
"cpu_cores": 123,
"cpu_freq": 123,
"memory_speed": 123,
"ethernet_in": 123,
"ethernet_out": 123,
"capacity": 123,
"max_cuda_version": 123
},
"extra": {},
"url": "<string>",
"in_stock": true,
"rentable": true,
"is_third_party": true,
"offers_amount": 0,
"countries_amount": 0,
"disk_prices": []
}
}
],
"total_items": 0
}
USD
, RUB
, QOIN
ru
, en