Get node-level OS info

GET /_node/os

Get the operating system (OS) name, architecture, version, and available processors.

Query parameters

  • pretty boolean

    If you append ?pretty=true to the request, the JSON returned will be pretty formatted. Use it for debugging only!

Responses

GET /_node/os
curl \
 --request GET 'http://api.example.com/_node/os' \
 --user "username:password"
Response examples (200)
{
  "os": {
    "arch": "aarch64",
    "name": "Mac OS X",
    "version": "15.3.1",
    "available_processors": 12
  }
}