Skip to content
On this page

List all virtual CPUs

Endpoint

GET /v1/cpus

Returns a list of all virtual CPUs present on a Raspberry Pi

Responses

json
{
   "type":"array",
   "items":{
      "type":"object",
      "properties":{
         "id":{
            "type":"int"
         },
         "cores":{
            "type":"int32"
         },
         "modelName":{
            "type":"string"
         },
         "mhz":{
            "type":"float64"
         },
         "stats":{
            "type":"object",
            "properties":{
               "percentUsed":{
                  "type":"float64"
               },
               "user":{
                  "type":"float64"
               },
               "system":{
                  "type":"float64"
               },
               "idle":{
                  "type":"float64"
               },
            }
         }
      }
   }
}