Skip to main content
GET
/
byok
/
status
curl -X GET https://api.thinnest.ai/byok/status \
  -H "Authorization: Bearer $THINNESTAI_API_KEY"
{
  "providers": [
    {
      "provider": "openai",
      "name": "OpenAI",
      "type": "llm",
      "description": "GPT-4o, GPT-4o-mini, o1, o3, o4",
      "docs_url": "https://platform.openai.com/api-keys",
      "logo": "/logos/OpenAI.png",
      "is_configured": true,
      "masked_key": "****Hn4F"
    },
    {
      "provider": "anthropic",
      "name": "Anthropic",
      "type": "llm",
      "description": "Claude 4, Claude 3.5 Sonnet",
      "docs_url": "https://console.anthropic.com/settings/keys",
      "logo": "/logos/anthropic.png",
      "is_configured": false,
      "masked_key": null
    }
  ]
}
curl -X GET https://api.thinnest.ai/byok/status \
  -H "Authorization: Bearer $THINNESTAI_API_KEY"

Get BYOK Status

Returns the configuration status of all BYOK providers for the authenticated user.

Request

GET /byok/status
Authorization: Bearer {token}

Response

{
  "providers": [
    {
      "provider": "openai",
      "name": "OpenAI",
      "type": "llm",
      "description": "GPT-4o, GPT-4o-mini, o1, o3, o4",
      "docs_url": "https://platform.openai.com/api-keys",
      "logo": "/logos/OpenAI.png",
      "is_configured": true,
      "masked_key": "****Hn4F"
    },
    {
      "provider": "anthropic",
      "name": "Anthropic",
      "type": "llm",
      "description": "Claude 4, Claude 3.5 Sonnet",
      "docs_url": "https://console.anthropic.com/settings/keys",
      "logo": "/logos/anthropic.png",
      "is_configured": false,
      "masked_key": null
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

{key}
ByokProviderStatus · object[]