---
type: api
title: Get node-level OS info
description: Get the operating system (OS) name, architecture, version, and available processors.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/logstash/v9/operation/operation-nodeinfoos
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/logstash/v9/operation/operation-nodeinfoos
products:
  - Logstash
---

# Get node-level OS info

- Server: `/`

## Paths

- `GET` `/_node/os`

- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/logstash/v9/authentication#basicauth)

## Description

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

## Query String Parameters

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

## Response

Indicates a successful call

`application/json`

- `os` (object)
  - `name` (string)
  - `arch` (string)
  - `version` (string)
  - `available_processors` (integer)
## Code Examples

#### Console

```console
GET /_node/os
```

#### curl

```curl
curl -X GET "/_node/os"
```

## Response Examples

#### 200

```json
{
  "os": {
    "name": "Mac OS X",
    "arch": "aarch64",
    "version": "15.3.1",
    "available_processors": 12
  }
}
```

