---
title: "Get a stored BYOK API key hint for a provider"
method: GET
path: "/v1/byok/{provider}"
tags: ["byok"]
---

# Get a stored BYOK API key hint for a provider

`GET /v1/byok/{provider}`

Get the stored BYOK API key hint for a provider.
Bring your own key is reserved for enterprise clients.
If you want to use this feature, please contact us at contact@asknews.app

## Path parameters

- `provider` 'anthropic' | 'google', required — The BYOK provider

## Response `200`

Stored API key hint.

- ApiKeyResponse
  - `provider` 'anthropic' | 'google', required
  - `key_hint` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/asknews/apis/asknews-api.md) · [All operations](https://skmtc.dev/asknews/apis/asknews-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/asknews/asknews-api/revisions/dd4286769887/schema)
