---
title: "Check a saved key with its company"
method: POST
path: "/v1/admin/assistant-provider/{provider}/test"
tags: ["Operations"]
---

# Check a saved key with its company

`POST /v1/admin/assistant-provider/{provider}/test`

## Request

- Base URL: `https://loppee.com`
- URL: `https://loppee.com/v1/admin/assistant-provider/{provider}/test`
- Auth: HTTP bearer

Human manage_team, two-step sign-in and a recent confirmation. Sends one fixed sentence to the company with the saved key and reports whether the key was accepted. No visitor text is sent and no key is returned.

## Path parameters

- `provider` string, required

## Response `200`

Check a saved key with its company response

- object
  - `status` 'checked', required
  - `provider` 'gemini' | 'groq' | 'openai' | 'anthropic' | 'custom', required
  - `key_check` 'passed' | 'key_rejected' | 'quota_spent' | 'could_not_check', required
  - `checked_at` string, required

## Other responses

- `400`: ErrorResponse
- `401`: ErrorResponse
- `403`: ErrorResponse
- `404`: ErrorResponse
- `409`: ErrorResponse
- `429`: RateLimitError
- `default`: ErrorResponse

---

[API](https://skmtc.dev/loppee/apis/loppee-business-registry-api-for-external-agents.md) · [All operations](https://skmtc.dev/loppee/apis/loppee-business-registry-api-for-external-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/loppee/apis/loppee-business-registry-api-for-external-agents/revisions/37285f7cddcd?raw)
