/api/models/{slug}/providers/{provider_row_id}/endpoint-credentialエンドポイントのAPIキーをローテーションまたはクリア
組織がこのモデル上で所有するlocalデプロイメントにのみ適用されます。それ以外のIDは存在が漏れないよう404を返します。キーは書き込み専用です(ボールトに保存され、返されるのはendpoint_credential_last4のみです)。endpoint_api_key: nullで消去すると、ゲートウェイはプレースホルダーのベアラーを送信します。変更は1回のリフレッシュ間隔内にゲートウェイに反映されます。
認証: AuthorizationヘッダーにBearer形式のAPIキー
パスパラメーター
slugstring必須モデルのスラッグ。
provider_row_idstring必須デプロイメントID(
GET /api/models/{slug}/providersのid)。
リクエストボディ
org_idstring | nullキーの場合は暗黙的に決まります。
endpoint_api_keystring | null新しいキー。nullでクリアします。
レスポンス
200新しいキー(マスク済み)を含むデプロイメント。
レスポンス
idstringデプロイメントID、またはお客様自身のプロバイダー接続で提供されるルートの場合は
byok:{connection_id}。ウォーターフォールの書き込みで使うトークンです。model_idstringproviderstringお客様に表示されるプロバイダーID。自社のキャパシティで運用するプラットフォームのルートは
experiential_cloudと表示されます。provider_model_idstringプロバイダーのwire id。
base_urlstring | nullお客様が運用する(
local、modal)デプロイメントのエンドポイント。regionstring | nullapi_versionstring | nullowning_org_idstring | null非公開ルートの場合はお客様の組織、公開ルートの場合はnullです。
provider_connection_idstring | null固定したBYOK接続(ある場合)。
connection_aliasstring | nullBYOKルートのみ:接続のアカウントエイリアス。同じプロバイダーの2つのアカウントを区別します。
route_idstring | nullリクエストでこのルートを正確に選択するための、組織ごとの不透明なハンドル。組織のコンテキストがない場合や、ルートがお客様のトラフィックを処理できない場合はnullです。
provider_statusobjectこのルートに関するプロバイダー自身の公開ステータス報告です。参考情報のみで、ルーティングには使用しません。
provider_status
stateenumofficial_urlstring | nullchecked_atstring | nullscopestringlimitationstringincidentsarray<object>advisoryboolean
provider_logo_urlstringレジストリのプロバイダーロゴ(存在する場合)。それ以外は省略されます。
billing_sourceenumhost_managedはお客様のクレジットに課金し、customer_managedはお客様自身のプロバイダーまたはエンドポイントに課金します。input_nano_usd_per_millioninteger | nullcached_input_nano_usd_per_millioninteger | nullcache_write_input_nano_usd_per_millioninteger | nullcache_write_1h_input_nano_usd_per_millioninteger | nulllong_context_cache_write_input_nano_usd_per_millioninteger | nulllong_context_cache_write_1h_input_nano_usd_per_millioninteger | nullcache_write_12h_input_nano_usd_per_millioninteger | null12時間キャッシュをサポートするルートでnullの場合、入力料金の2.5倍を意味します。
output_nano_usd_per_millioninteger | nullreasoning_nano_usd_per_millioninteger | nullimage_output_nano_usd_per_millioninteger | null生成画像トークンの料金。nullの場合は出力として課金されます。
long_context_threshold_tokensinteger | null報告された入力トークン数がこの値に達すると、
long_context_*の料金がリクエスト全体に適用されます。nullは一律料金を意味します。long_context_input_nano_usd_per_millioninteger | nulllong_context_cached_input_nano_usd_per_millioninteger | nulllong_context_output_nano_usd_per_millioninteger | nulllong_context_reasoning_nano_usd_per_millioninteger | nullunit_pricesobject単位課金ルートの唯一のメーター。
unit_prices
kindenumratesobjectバリアントごとの1単位あたりの整数のnano-USD(
""は一律料金)。
off_peak_pricingobject週ごとのUTCピーク時間帯を含むオフピーク料金表(
prices、peak_windows、off_peak_dates)。主要な料金はピーク時の価格です。存在しない場合は省略されます。pricing_sourcestring | nullpricing_effective_atstring | nullcapabilitiesobjectゲートウェイが適用するwireの機能(例:
supports_tools、supported_reasoning_efforts)。uptime_30dnumber | nullパーセント。
uptime_recentnumber | nullルートの直近のリクエストのうち完了した割合(パーセント)。50リクエスト未満の場合はnullです。
uptime_recent_requestsinteger | nullthroughput_tpsnumber | null観測されたデコードの1秒あたりのトークン数。
latency_p50_msnumber | null観測された最初のトークンまでの時間の中央値。
request_latency_p50_msnumber | null最初のトークンがなかった呼び出しの、観測されたエンドツーエンドのレイテンシーの中央値。
stats_sourceenumstatusstringroutableboolean | nullゲートウェイの有効なプランがこのプラットフォームのルートをルーティングするかどうか。該当しない場合はnullです。
requires_paymentboolean有料専用ルート(クレジットの購入が完了すると利用可能になります)。
requires_purchaseboolean購入が必要なルート($1のカード認証ではなく、実際の購入で利用可能になります)。
zdr_onlybooleanゼロデータ保持でルーティングされたリクエストのみを処理します。
hidden_fallbackbooleanavailable_to_orgboolean | null組織がこのクローズドなルートを利用できるかどうか。組織のコンテキストがない場合やオープンなルートではnullです。
zero_data_retentionboolean | null詳細ルートのみ。nullはポスチャーの情報がないことを意味し、ZDR必須のポリシーでは非準拠として扱われます。
zero_data_retention_on_requestboolean | nullゲートウェイのリクエスト単位のZDR制約下でディスパッチされた場合のみZDR。
processing_region_setsarray<array<string>>plan_discountsobject | nullいずれか
object
freenumberpronumbermaxnumberultranumber
service_tier_ratesobject | nullルートが処理ティアごとに料金を設定している場合の、ティア別料金表(
flex、priority)。100万トークンあたりのnano-USDです。ladder_rankinteger | nullモデルの公開プラットフォームルート内での表示上の位置(表示専用)。
ladder_lane_countinteger | nullladder_scorenumber | nullladder_factorsobject | nullendpoint_credential_last4string | null保存されたエンドポイントAPIキーの末尾4文字。
created_atstringupdated_atstring
401APIキーがない、不明、または失効しています。
レスポンス
errorstring必須人が読めるメッセージ。
codestringエンドポイントが定義している場合の、安定した機械可読の理由(例:
pro_required)。actionstringエンドポイントが定義している場合の、安定した対処アクション。
detailsobject呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。
404モデルが表示されないか、IDが組織内のそのモデルの顧客運用デプロイメントではありません。
レスポンス
errorstring必須人が読めるメッセージ。
codestringエンドポイントが定義している場合の、安定した機械可読の理由(例:
pro_required)。actionstringエンドポイントが定義している場合の、安定した対処アクション。
detailsobject呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。
409キー付きの作成が完了していないデプロイメントのキーを消去しようとした(先に作成を再試行してください)、またはリクエスト中に行が変更されました。
レスポンス
errorstring必須人が読めるメッセージ。
codestringエンドポイントが定義している場合の、安定した機械可読の理由(例:
pro_required)。actionstringエンドポイントが定義している場合の、安定した対処アクション。
detailsobject呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。
422ボディまたはクエリの検証に失敗しました。
レスポンス
detailarray<object>必須detail
typestringlocarray<string | integer>msgstring
リクエスト
curl -X PUT 'https://api.experientiallabs.ai/api/models/my-local-model/providers/5d2e9a71-3b4c-4f80-8e16-2a9c7b0d4e53/endpoint-credential' \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"endpoint_api_key": "sk-acme-endpoint-rotated-2b8d6f"
}'レスポンス
{
"id": "5d2e9a71-3b4c-4f80-8e16-2a9c7b0d4e53",
"model_id": "0b8f3d2a-5c61-4e7f-9a12-7d4e6b1c9f30",
"provider": "local",
"provider_model_id": "my-model",
"base_url": "https://models.acme.dev:8000/v1",
"region": null,
"api_version": null,
"owning_org_id": "3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10",
"provider_connection_id": null,
"billing_source": "customer_managed",
"pricing_source": "self-reported",
"capabilities": {
"supports_temperature": true,
"supports_tools": true
},
"status": "active",
"endpoint_credential_last4": "6f2b",
"created_at": "2026-11-19T15:02:11.104512+00:00",
"updated_at": "2026-11-19T16:20:03.918274+00:00"
}https://api.experientiallabs.ai/api/models/my-local-model/providers/5d2e9a71-3b4c-4f80-8e16-2a9c7b0d4e53/endpoint-credential