---
search:
  tags:
    - System
    - GET
seo:
  description: >-
    Answers once the server can reach its database, and fails with
    DatabaseUnavailable while it… Reference for the GET /api/ready endpoint in
    the Peal API.
sidebar:
  label: Check that the server can take traffic
  badge: GET
title: Check that the server can take traffic
type: openapi-operation
---
Answers once the server can reach its database, and fails with DatabaseUnavailable while it cannot. Use it as a readiness check before sending traffic.

`GET /api/ready`

**Responses**

- `204` — The server and its database both answer.
- `503` — The server cannot reach its database.
