---
title: "Readiness probe"
method: GET
path: "/ready"
tags: ["System"]
---

# Readiness probe

`GET /ready`

## Request

- Base URL: `https://api.marketintell.ai`
- URL: `https://api.marketintell.ai/ready`
- Auth: none required

Runs `SELECT 1` on the Prisma-owned connection pool (the pool serving ~all traffic). Returns 200 when the DB is reachable, 503 otherwise. ALB target-group health checks use this endpoint; container liveness probes keep using static `/health`.

## Response `200`

DB reachable

- object
  - `status` 'ready', required
  - `latency_ms` number: DB round-trip in ms

## Other responses

- `503`: DB unavailable

---

[API](https://skmtc.dev/marketintell/apis/marketintell-api.md) · [All operations](https://skmtc.dev/marketintell/apis/marketintell-api/llms.txt) · [OpenAPI document](https://skmtc.dev/marketintell/apis/marketintell-api/revisions/f3ef87afc41f?raw)
