---
title: "Test one subsystem's connectivity (Admin, rate limited); mail/alerts/chain-access/auth-provider; the target always comes from the stored setting, never the request body"
method: POST
path: "/api/v1/admin/settings/test"
tags: ["admin"]
---

# Test one subsystem's connectivity (Admin, rate limited); mail/alerts/chain-access/auth-provider; the target always comes from the stored setting, never the request body

`POST /api/v1/admin/settings/test`

## Request

- Base URL: `https://amplerun-api.spiry.org`
- URL: `https://amplerun-api.spiry.org/api/v1/admin/settings/test`
- Auth: HTTP bearer

## Request body

- object
  - `subsystem` 'mail' | 'alerts' | 'chain-access' | 'auth-provider', required
  - `provider` 'github' | 'google'

## Response `200`

The real result of the check.

- object
  - `ok` boolean, required
  - `detail` string, required

## Other responses

- `default`: Error envelope. 401 unauthenticated, 403/404 forbidden, 409 conflict, 422 invalid input, 429 rate limited (code UNAVAILABLE, retryable:true, no Retry-After header), 503 unavailable money/provider state with retryable:true.

---

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