Nodes
List nodes
List all nodes for the authenticated account
get/v1/nodes
Query parameters
idstring[]
Filter nodes by node_id Use ?id=n_b1dc52505c6db142&id=n_b1dc52505c6db133 to specify multiple IDs. Cannot combine with name or node_type
namestring[]
Filter nodes by their names Use ?name=val1&name=val2 to specify multiple names. Cannot combine with id or node_type
type'autoreserved' | 'reserved'
Filter nodes by their type Cannot combine with id or name
Response
List of nodes
Example response
{
"object": "list",
"data": [
{
"object": "node",
"id": "n_b1dc52505c6db142",
"name": "cuda-crunch",
"zone": "hayesvalley",
"owner": "sfcompute",
"created_at": 1640995200,
"updated_at": 1640995200,
"start_at": 1640995200,
"end_at": 1640995200,
"deleted_at": 1640995200,
"procurement_id": "proc_b1dc52505c6de142",
"max_price_per_node_hour": 1000,
"vms": {
"object": "list",
"data": [
{
"object": "vm",
"id": "vm_myOZZXw4pfcp7H9DQOldd",
"created_at": 1640995200,
"updated_at": 1640995200,
"start_at": 1640995200,
"end_at": 1640998200,
"image_id": "image_myOZZXw4pfcp7H9DQOldd",
"zone": "hayesvalley"
}
]
},
"current_vm": {
"object": "vm",
"id": "vm_myOZZXw4pfcp7H9DQOldd",
"created_at": 1640995200,
"updated_at": 1640995200,
"start_at": 1640995200,
"end_at": 1640998200,
"image_id": "image_myOZZXw4pfcp7H9DQOldd",
"zone": "hayesvalley"
}
}
]
}