/api/orgs/{org_id}/provider-connectionsList provider connections
Every bring-your-own-key account of the organization, several per provider when the org connected more than one. Returns non-secret config and the last four characters of each credential; the secret itself is never returned. Any member, or the org's own key, may read.
認証: AuthorizationヘッダーにBearer形式のAPIキー
パスパラメータ
org_idstring必須Your organization id (uuid).
GET /api/whoamireturns it.
レスポンス
200The org's connections.
レスポンス
providerenum必須A provider an organization can connect its own key for. kenari, kiosapi, tokenharbor, groq and nvidia_nim are free-tier providers open to every plan.
setup_aliasstring必須Account handle; the default account's handle is the provider name.
configobject必須Non-secret provider config.
credential_last4string | null必須spend_credential_last4string | null必須Last four of the stored admin key, if any.
statusenum必須The provider-verified key state, written by the hookup check and by real traffic.
provider_errormeans the provider was unreachable when checked, not that the key is bad.priorityinteger必須Position in the org's account pool; lower is tried first.
exhaustion_fallbackboolean必須Whether the pool rotates past this account when it is quota_exhausted.
ratelimit_failoverboolean必須Whether the pool rotates past this account while it is rate limited.
failover_only_onarray | null必須Null for unrestricted; a list makes the account a fallback for exactly those failures.
401Missing, unknown or revoked API key.
レスポンス
errorstring必須Human-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
404The resource does not exist or belongs to another organization.
レスポンス
errorstring必須Human-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
リクエスト
curl https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/provider-connections \
-H "Authorization: Bearer YOUR_API_KEY"レスポンス
[
{
"provider": "openai",
"setup_alias": "openai",
"config": {},
"credential_last4": "x9Qa",
"spend_credential_last4": null,
"status": "valid",
"priority": 0,
"exhaustion_fallback": true,
"ratelimit_failover": true,
"failover_only_on": null
},
{
"provider": "bedrock",
"setup_alias": "bedrock-eu",
"config": {
"region": "eu-central-1",
"auth_mode": "access_key_pair",
"access_key_id": "AKIAEXAMPLE7Q2LZ4KD"
},
"credential_last4": "f3Rk",
"spend_credential_last4": null,
"status": "rate_limited",
"priority": 1,
"exhaustion_fallback": true,
"ratelimit_failover": true,
"failover_only_on": [
"throttled",
"provider_quota"
]
}
]https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/provider-connections