---
title: "Check that the Factory API is up"
method: GET
path: "/api/health"
tags: ["Health"]
---

# Check that the Factory API is up

`GET /api/health`

## Request

- Base URL: `https://api.factory.ai`
- URL: `https://api.factory.ai/api/health`
- Auth: none required

Returns 200 while this deployment serves requests, with the commit it was built from, the region it serves, and the client address it saw. It reads no credential.

## Response `200`

Response for status 200

- GetHealth200ResponseBody
  - `status` 'ok', required
  - `debugVersion` integer, required: Build marker for diagnostics; carries no other meaning
  - `timestamp` string, date-time, required: Server time
  - `deploySha` string, nullable, required: Git commit the deployment was built from, or null outside a Vercel deployment
  - `region` 'global' | 'eu', required: Data-residency region this deployment serves
  - `clientIp` string, nullable, required: The `x-real-ip` header the request reached the deployment with, or null without one

## Other responses

- `500`: Response for status 500
- `default`: Response for status default

## Changes

- **2026-11-17** `54bb6cc588c0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/factory/apis/factory-public-api/changes/api/health/get.md)

---

[API](https://skmtc.dev/factory/apis/factory-public-api.md) - [All operations](https://skmtc.dev/factory/apis/factory-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/factory/apis/factory-public-api/revisions/2e37e1b079d2?raw)
