---
title: "Test Database Connection"
method: GET
path: "/api/v1/test-db"
tags: ["health"]
---

# Test Database Connection

`GET /api/v1/test-db`

Test database connection for a specific league.

Requires League header.

Example:
    curl -H "League: t1_league" http://localhost:8080/api/v1/test-db

## Headers

- `League` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/preciser/apis/preciser-data-management-api.md) · [All operations](https://skmtc.net/preciser/apis/preciser-data-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/preciser/preciser-data-management-api/versions/c5f6b8674011/schema)
