---
title: API service
description: The following are Ping Autonomous Identity API Service endpoints:
component: autonomous-identity
version: 2022.11.12
page_id: autonomous-identity:api-guide:chap-api-service
canonical_url: https://docs.pingidentity.com/autonomous-identity/2022.11.12/api-guide/chap-api-service.html
section_ids:
  get_health_check: GET /health-check
  get_version: GET /version
---

# API service

The following are Ping Autonomous Identity API Service endpoints:

## GET /health-check

* GET /health-check

  Check that the Ping Autonomous Identity API service is running. Get uptime statistics. \[All]

  Endpoint

  ```
  /health-check
  ```

  Headers

  ```
  Content-Type      application/json
  ```

  Body

  Example Request

  ```
  curl --request GET "<instance-IP>/health-check" \
  --header "Content-Type: application/json"
  ```

  Example Response

  ```
  {
    "status": "zoran-api: OK",
    "uptime": 5412.465875997,
    "uptimeFormatted": "1:30:12"
  }
  ```

## GET /version

* GET /version

  Get the version number of this service. \[All]

  Endpoint

  ```
  /version
  ```

  Headers

  ```
  Content-Type      application/json
  ```

  Body

  Example Request

  ```
  curl --request GET "https://autoid-api.forgerock.com/version" \
  --header "Content-Type: application/json"
  ```

  Example Response

  ```
  {
    "version": "1.0",
  }
  ```
