List provider bindings
import requests
url = "https://app.langwatch.ai/api/gateway/v1/providers"
headers = {"X-Auth-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Auth-Token': '<api-key>'}};
fetch('https://app.langwatch.ai/api/gateway/v1/providers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://app.langwatch.ai/api/gateway/v1/providers \
--header 'X-Auth-Token: <api-key>'{
"data": [
{
"id": "<string>",
"model_provider_id": "<string>",
"model_provider_name": "<string>",
"slot": "<string>",
"rate_limit_rpm": 123,
"rate_limit_tpm": 123,
"rate_limit_rpd": 123,
"rotation_policy": "<string>",
"fallback_priority_global": 123,
"health_status": "<string>",
"disabled_at": "<string>",
"created_at": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Gateway: Provider Bindings
List provider bindings
Lists every gateway-bound model-provider credential for the caller’s project, including health and rate-limit settings.
GET
/
api
/
gateway
/
v1
/
providers
List provider bindings
import requests
url = "https://app.langwatch.ai/api/gateway/v1/providers"
headers = {"X-Auth-Token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Auth-Token': '<api-key>'}};
fetch('https://app.langwatch.ai/api/gateway/v1/providers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://app.langwatch.ai/api/gateway/v1/providers \
--header 'X-Auth-Token: <api-key>'{
"data": [
{
"id": "<string>",
"model_provider_id": "<string>",
"model_provider_name": "<string>",
"slot": "<string>",
"rate_limit_rpm": 123,
"rate_limit_tpm": 123,
"rate_limit_rpd": 123,
"rotation_policy": "<string>",
"fallback_priority_global": 123,
"health_status": "<string>",
"disabled_at": "<string>",
"created_at": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Was this page helpful?
⌘I