GET
/api/gateway/catalog組織から見たカタログを取得
お客様のキーで呼び出せるルーティング可能なすべてのスラッグ。公開エイリアスとカスタムモデルを含み、同名の公開エイリアスはお客様のカスタムモデルで上書きされます。各プロバイダーには、トラフィックが通るルートを示すラベルpass_through(お客様自身のキーまたはエンドポイント)またはplatform_funded(クレジット)が付きます。
認証: AuthorizationヘッダーにBearer形式のAPIキー
クエリパラメーター
org_idstring必須お客様の組織ID。
レスポンス
200解決されたエイリアス。
レスポンス
org_idstringaliasesarray<object>aliases
aliasstringリクエストが送信するスラッグ。
custombooleanお客様独自のカスタムモデル(お客様のキーに対しては、同名の公開エイリアスより優先されます)。
revision_idstringrefusal_failoverbooleanprovidersarray<object>ウォーターフォールの順序。
providers
providerstringlaneenum
401APIキーがない、不明、または失効しています。
レスポンス
errorstring必須人が読めるメッセージ。
codestringエンドポイントが定義している場合の、安定した機械可読の理由(例:
pro_required)。actionstringエンドポイントが定義している場合の、安定した対処アクション。
detailsobject呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。
404この組織はお客様のものではありません。
レスポンス
errorstring必須人が読めるメッセージ。
codestringエンドポイントが定義している場合の、安定した機械可読の理由(例:
pro_required)。actionstringエンドポイントが定義している場合の、安定した対処アクション。
detailsobject呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。
422ボディまたはクエリの検証に失敗しました。
レスポンス
detailarray<object>必須detail
typestringlocarray<string | integer>msgstring
リクエスト
curl 'https://api.experientiallabs.ai/api/gateway/catalog?org_id=3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10' \
-H "Authorization: Bearer <YOUR_API_KEY>"レスポンス
{
"org_id": "3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10",
"aliases": [
{
"alias": "gpt-6-luna",
"custom": false,
"revision_id": "rev-4b1e9c2d7a5f3e8b0c6d1a9f2e7b4c8d5a3f0e6b9c2d7a1f4e8b3c5d0a9f6e2b",
"refusal_failover": false,
"providers": [
{
"provider": "openai",
"lane": "pass_through"
},
{
"provider": "azure_openai",
"lane": "platform_funded"
}
]
},
{
"alias": "my-local-model",
"custom": true,
"revision_id": "rev-9a2f6e1b4c8d3a7f0e5b2c9d6a1f8e4b7c3d0a5f2e9b6c1d8a4f7e3b0c5d2a9f",
"refusal_failover": false,
"providers": [
{
"provider": "local",
"lane": "pass_through"
}
]
}
]
}https://api.experientiallabs.ai/api/gateway/catalog?org_id=3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10