Get node-level OS info
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!
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
}
}