POST/api/orgs/{org_id}/provider/requests

変更リクエストを申請

add_modelsは、次の2つのチェックに合格すると即座に適用されます。ライブカタログに対するマニフェストのレビューと、すべてのwire idについてのお客様のエンドポイントへの実際のストリーミング補完です(保存済みのプラットフォームのキー、またはsmoke_api_keyを使用します。後者は検証の認証にのみ使われ、保存されません)。いずれかに失敗すると400を返し、何も掲載されません。新しいルートは非掲載で追加されるため、後で個別に掲載してください。update_pricesとupdate_modelも即座に適用されます(update_modelは24時間に1回まで、超えると429)。update_limitsはプラットフォームの審査のためpendingになります。組織管理者のセッションまたは組織自身のキーが必要です。

認証: AuthorizationヘッダーにBearer形式のAPIキー

パスパラメーター

  • org_idstring必須

    お客様の組織ID(uuid)。GET /api/whoamiで取得できます。

リクエストボディ

  • kindenum必須
    "add_models""update_prices""update_limits""update_model"
  • payloadobject必須

    kindで選択される形式。

    いずれか

    add_models

    • modelsarray<any>必須

      wire idは一意である必要があり、同じ新しいモデルスラッグを提案するエントリが2つあってはなりません。

      models
      • wire_idstring必須

        お客様のエンドポイントがmodelで受け付けるモデルID。

      • bindingobject必須

        カタログモデルに紐付ける(existing)か、新しいモデルを提案します(new)。

        いずれか

        object

        • kindstring必須
        • slugstring必須

          既存のカタログモデルのスラッグ。

        object

        • kindstring必須
        • modelobject必須
          model
          • slugstring必須
          • display_namestring必須
          • descriptionstring | null
          • context_windowinteger | null
          • max_output_tokensinteger | null
          • input_modalitiesarray<enum>
            既定値: ["text"]
          • huggingface_urlstring | null

            https://huggingface.co// の形式に完全一致する必要があります。

          • release_urlstring | null

            実在するドット区切りのホスト名を含むhttps URL。

      • pricesobject必須

        100万トークンあたりの料金(整数のnano-USD、1 USD = 1,000,000,000 nano-USD)。各料金の上限は1,000,000,000,000(100万トークンあたり$1,000)です。

        prices
        • input_nano_usd_per_millioninteger必須
        • output_nano_usd_per_millioninteger必須
        • cached_input_nano_usd_per_millioninteger | null

          キャッシュ入力の料金。nullはキャッシュ料金がないことを意味します。

        • reasoning_nano_usd_per_millioninteger | null
        • effective_atstring | null

          任意のタイムスタンプ(タイムゾーンオフセット付き)。

      • capabilitiesobject

        宣言された機能のブール値。キーはゲートウェイの機能の語彙(supports_streaming、supports_parallel_tool_calls、supports_structured_text、supports_image_input、reports_cached_input_tokens、reports_reasoning_tokensなど)から選ぶ必要があり、不明なキーは拒否されます。一覧に表示されるには、ルートにsupports_streaming: trueが必要です。

        既定値: {}
      • context_windowinteger | null
      • regionstring | null
      • deprecationobject | null
        deprecation
        • eol_atstring必須
        • replacement_slugstring | null
      • data_policyobject | null

        モデルごとのデータの取り扱い。申請内のすべてのモデルで必須です。

        いずれか

        object

        • retains_promptsboolean必須
        • retention_daysinteger | null

          プロンプトを保持する日数。

        • trains_on_databoolean必須
        • zero_data_retentionboolean必須
        • policy_urlstring | null

          ポリシーの公開https URL。

      • dispatchobject | null
        いずれか

        object

        • scale_up_secondsinteger | null

          飽和がルートに不利に計上されるまでのウォームアップ時間。

        • overflow_policyenum

          飽和したときの動作。

          "reject""throttle"null
        • max_concurrencyinteger | null

          このモデルで宣言された処理中リクエストの上限。

      • rpminteger | null

        新しいルートの1分あたりリクエスト数のディスパッチ上限。省略すると既定値になります。

      • tpminteger | null

        新しいルートの1分あたりトークン数のディスパッチ上限。省略すると既定値になります。

      • service_tier_pricing_enabledboolean | null
      • service_tier_ratesobject | null
        いずれか

        object

        • flexobject | null
          いずれか

          object

          • inputinteger | null
          • cached_inputinteger | null
          • cache_creation_inputinteger | null
          • cache_creation_1h_inputinteger | null
          • outputinteger | null
          • reasoninginteger | null
          • long_contextobject | null
            long_context
            • input_threshold_tokensinteger必須
            • inputinteger | null
            • cached_inputinteger | null
            • cache_creation_inputinteger | null
            • cache_creation_1h_inputinteger | null
            • outputinteger | null
            • reasoninginteger | null
        • priorityobject | null
          いずれか

          object

          • inputinteger | null
          • cached_inputinteger | null
          • cache_creation_inputinteger | null
          • cache_creation_1h_inputinteger | null
          • outputinteger | null
          • reasoninginteger | null
          • long_contextobject | null
            long_context
            • input_threshold_tokensinteger必須
            • inputinteger | null
            • cached_inputinteger | null
            • cache_creation_inputinteger | null
            • cache_creation_1h_inputinteger | null
            • outputinteger | null
            • reasoninginteger | null

    update_prices

    • changesarray<object>必須
      changes
      • wire_idstring必須

        お客様の稼働中ルートのいずれかが提供するwire id。

      • pricesobject必須

        100万トークンあたりの料金(整数のnano-USD、1 USD = 1,000,000,000 nano-USD)。各料金の上限は1,000,000,000,000(100万トークンあたり$1,000)です。

        prices
        • input_nano_usd_per_millioninteger必須
        • output_nano_usd_per_millioninteger必須
        • cached_input_nano_usd_per_millioninteger | null

          キャッシュ入力の料金。nullはキャッシュ料金がないことを意味します。

        • reasoning_nano_usd_per_millioninteger | null
        • effective_atstring | null

          任意のタイムスタンプ(タイムゾーンオフセット付き)。

      • service_tier_pricing_enabledboolean | null

        trueの場合はservice_tier_ratesが必須、falseでティア料金をクリア、nullで変更しません。

      • service_tier_ratesobject | null
        いずれか

        object

        • flexobject | null
          いずれか

          object

          • inputinteger | null
          • cached_inputinteger | null
          • cache_creation_inputinteger | null
          • cache_creation_1h_inputinteger | null
          • outputinteger | null
          • reasoninginteger | null
          • long_contextobject | null
            long_context
            • input_threshold_tokensinteger必須
            • inputinteger | null
            • cached_inputinteger | null
            • cache_creation_inputinteger | null
            • cache_creation_1h_inputinteger | null
            • outputinteger | null
            • reasoninginteger | null
        • priorityobject | null
          いずれか

          object

          • inputinteger | null
          • cached_inputinteger | null
          • cache_creation_inputinteger | null
          • cache_creation_1h_inputinteger | null
          • outputinteger | null
          • reasoninginteger | null
          • long_contextobject | null
            long_context
            • input_threshold_tokensinteger必須
            • inputinteger | null
            • cached_inputinteger | null
            • cache_creation_inputinteger | null
            • cache_creation_1h_inputinteger | null
            • outputinteger | null
            • reasoninginteger | null

    update_limits

    • max_concurrencyinteger | null
    • advertised_tpsnumber | null

      公表されている1秒あたりの出力トークン数。

    update_model

    • wire_idstring必須
    • pricesobject | null
      いずれか

      object

      • input_nano_usd_per_millioninteger必須
      • output_nano_usd_per_millioninteger必須
      • cached_input_nano_usd_per_millioninteger | null

        キャッシュ入力の料金。nullはキャッシュ料金がないことを意味します。

      • reasoning_nano_usd_per_millioninteger | null
      • effective_atstring | null

        任意のタイムスタンプ(タイムゾーンオフセット付き)。

    • data_policyobject | null
      いずれか

      object

      • retains_promptsboolean必須
      • retention_daysinteger | null

        プロンプトを保持する日数。

      • trains_on_databoolean必須
      • zero_data_retentionboolean必須
      • policy_urlstring | null

        ポリシーの公開https URL。

    • dispatchobject | null
      いずれか

      object

      • scale_up_secondsinteger | null

        飽和がルートに不利に計上されるまでのウォームアップ時間。

      • overflow_policyenum

        飽和したときの動作。

        "reject""throttle"null
      • max_concurrencyinteger | null

        このモデルで宣言された処理中リクエストの上限。

    • requests_per_minuteinteger | null

      宣言されたアカウントごとの1分あたりのリクエスト数(観測のみで、適用はされません)。

    • tokens_per_minuteinteger | null

      宣言されたアカウントごとの1分あたりのトークン数(観測のみで、適用はされません)。

  • effective_atstring | null

    保留状態になるリクエスト(update_limits)で記録されます。タイムゾーンオフセットが必要です。

  • smoke_api_keystring | null

    プラットフォームのキーが保存されていない場合にadd_modelsのスモークテストで使うエンドポイントキー。プローブのみに使用し、保存されません。他の種類では無視されます。

レスポンス

  • 201

    記録されたリクエスト:add_models、update_prices、update_modelではstatus: applied、update_limitsではstatus: pendingです。

    レスポンス
    • idstring必須
    • kindenum必須
      "add_models""update_prices""update_limits""update_model"
    • statusenum必須
      "pending""approved""rejected""applied""failed"
    • payloadobject必須

      保存された、検証済みのペイロード。

    • effective_atstring | null必須
    • review_notestring | null必須

      審査済みリクエストに対するレビュアーのメモ。

    • errorstring | null必須

      承認されたリクエストの適用に失敗した理由。

    • created_atstring必須
    • applied_atstring | null必須
  • 400

    拒否されました。マニフェストのレビューでエラーが見つかった(request refused: <code>: <message>; ...、例:料金変更でのunknown-wire-id)、スモークテストに失敗した(code: smoke_failed、wire idごとのアップストリームのエラーをそのまま記載)、またはプロバイダーに検証用の公開https base_urlがありません。

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

      エンドポイントが定義している場合の、安定した機械可読の理由(例:pro_required)。

    • actionstring

      エンドポイントが定義している場合の、安定した対処アクション。

    • detailsobject

      呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。

  • 401

    APIキーがない、不明、または失効しています。

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

      エンドポイントが定義している場合の、安定した機械可読の理由(例:pro_required)。

    • actionstring

      エンドポイントが定義している場合の、安定した対処アクション。

    • detailsobject

      呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。

  • 403

    キーは有効ですが、この操作は許可されていません(例:プロビジョニングキー用エンドポイントでの推論キー、プラン対象外の機能)。

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

      エンドポイントが定義している場合の、安定した機械可読の理由(例:pro_required)。

    • actionstring

      エンドポイントが定義している場合の、安定した対処アクション。

    • detailsobject

      呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。

  • 404

    リソースが存在しないか、他の組織に属しています。

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

      エンドポイントが定義している場合の、安定した機械可読の理由(例:pro_required)。

    • actionstring

      エンドポイントが定義している場合の、安定した対処アクション。

    • detailsobject

      呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。

  • 409

    add_modelsのスモークテストにキーが必要ですが利用できません(キーが保存されておらずsmoke_api_keyもないhouse_keyプロバイダー)。またはカタログへの書き込みが競合しました。

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

      エンドポイントが定義している場合の、安定した機械可読の理由(例:pro_required)。

    • actionstring

      エンドポイントが定義している場合の、安定した対処アクション。

    • detailsobject

      呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。

  • 422

    ボディの検証に失敗した、payloadがkindと一致しない、add_modelsのバッチが200モデルを超える、またはカタログが書き込みを拒否しました。

  • 429

    前回のupdate_model編集から24時間未満で次の編集が申請されました。

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

      エンドポイントが定義している場合の、安定した機械可読の理由(例:pro_required)。

    • actionstring

      エンドポイントが定義している場合の、安定した対処アクション。

    • detailsobject

      呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。

リクエスト

curl -X POST 'https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/provider/requests' \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
  "kind": "add_models",
  "payload": {
    "models": [
      {
        "wire_id": "meta-llama/llama-4.1-70b-instruct",
        "binding": {
          "kind": "existing",
          "slug": "llama-4.1-70b-instruct"
        },
        "prices": {
          "input_nano_usd_per_million": 350000000,
          "output_nano_usd_per_million": 900000000,
          "cached_input_nano_usd_per_million": 35000000
        },
        "capabilities": {
          "supports_streaming": true,
          "supports_parallel_tool_calls": true,
          "reports_cached_input_tokens": true
        },
        "context_window": 131072,
        "data_policy": {
          "retains_prompts": false,
          "trains_on_data": false,
          "zero_data_retention": true
        },
        "rpm": 600,
        "tpm": 2000000
      }
    ]
  },
  "smoke_api_key": "<your-endpoint-key>"
}'

レスポンス

{
  "id": "8a4c2e61-7b9d-4f03-a1e5-c6d8b0f2e394",
  "kind": "add_models",
  "status": "applied",
  "payload": {
    "models": [
      {
        "wire_id": "meta-llama/llama-4.1-70b-instruct",
        "binding": {
          "kind": "existing",
          "slug": "llama-4.1-70b-instruct"
        },
        "prices": {
          "input_nano_usd_per_million": 350000000,
          "output_nano_usd_per_million": 900000000,
          "cached_input_nano_usd_per_million": 35000000,
          "reasoning_nano_usd_per_million": null,
          "effective_at": null
        }
      }
    ]
  },
  "effective_at": null,
  "review_note": null,
  "error": null,
  "created_at": "2026-11-19T10:12:44.903Z",
  "applied_at": "2026-11-19T10:12:44.903Z"
}

https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/provider/requests