---
title: "Get the health of a single adapter"
method: GET
path: "/health/adapters/{name}"
tags: ["Health"]
---

# Get the health of a single adapter

`GET /health/adapters/{name}`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/health/adapters/{name}`
- Auth: none declared

Returns the health of a single adapter in Itential Platform.

## Path parameters

- `name` string, required: The name of the service

## Response `200`

Contains the selected adapters health data.

- IapServicesHealthSchema: The root schema comprises the entire JSON document.
  - `id` string
  - `package_id` string: The model used by the service
  - `version` string
  - `type` 'Adapter' | 'Application'
  - `description` string
  - `state` 'DEAD' | 'STOPPED' | 'RUNNING' | 'DELETED'
  - `connection` union
    - unknown
    - IapServicesHealthSchemaConnection1
      - `state` string
  - `uptime` number, double: Number of seconds the current process has been running.
  - `memoryUsage` IapServicesHealthSchemaMemoryUsage
    - `rss` integer: Resident Set Size - the amount of space occupied in the main memory - in bytes
    - `heapTotal` integer: Heap Total in bytes for the Node V8 engine
    - `heapUsed` integer: Heap Used in bytes by the Node V8 engine
    - `external` integer: External usage - memory usage of C++ objects bound to JavaScript objects managed by the Node V8 engine - in bytes
  - `cpuUsage` IapServicesHealthSchemaCpuUsage: Contains microsecond data for user and system modes. These values are used to calculate CPU usage (with implied conversions) by the following formula : (current CPU usage - previous CPU usage) / (current uptime - previous uptime)
    - `user` integer: Microseconds spent in user mode
    - `system` integer: Microseconds spent in system mode
  - `pid` integer
  - `logger` IapServicesHealthSchemaLogger
    - `console` 'error' | 'warn' | 'info' | 'debug' | 'trace' | 'spam'
    - `file` 'error' | 'warn' | 'info' | 'debug' | 'trace' | 'spam'
    - `syslog` 'debug' | 'info' | 'warning' | 'error'
  - `routePrefix` string
  - `prevUptime` number, double

## Other responses

- `500`: Error response from API

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
