curl -X GET https://api.thinnest.ai/byok/status \
-H "Authorization: Bearer $THINNESTAI_API_KEY"
import requests
url = "https://api.thinnest.ai/byok/status"
headers = {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://api.thinnest.ai/byok/status", {
method: "GET",
headers: {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
},
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.thinnest.ai/byok/status", nil)
req.Header.Set("Authorization", "Bearer YOUR_THINNESTAI_API_KEY")
resp, err := http.DefaultClient.Do(req)
if err != nil { panic(err) }
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}
{
"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
}
]
}
BYOK Keys
Get BYOK Status
Get configuration status for all BYOK providers
GET
/
byok
/
status
curl -X GET https://api.thinnest.ai/byok/status \
-H "Authorization: Bearer $THINNESTAI_API_KEY"
import requests
url = "https://api.thinnest.ai/byok/status"
headers = {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://api.thinnest.ai/byok/status", {
method: "GET",
headers: {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
},
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.thinnest.ai/byok/status", nil)
req.Header.Set("Authorization", "Bearer YOUR_THINNESTAI_API_KEY")
resp, err := http.DefaultClient.Do(req)
if err != nil { panic(err) }
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}
{
"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"
import requests
url = "https://api.thinnest.ai/byok/status"
headers = {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://api.thinnest.ai/byok/status", {
method: "GET",
headers: {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
},
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.thinnest.ai/byok/status", nil)
req.Header.Set("Authorization", "Bearer YOUR_THINNESTAI_API_KEY")
resp, err := http.DefaultClient.Do(req)
if err != nil { panic(err) }
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}
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
}
]
}
⌘I

