{
  "provider_id": "minimax",
  "import_http_status": 200,
  "import_body": {
    "accepted_keys_count": 1,
    "access_status": "subscription_ready",
    "accounts_count": 1,
    "batch_id": 6,
    "batch_status": "partially_succeeded",
    "channel": {
      "id": "5",
      "name": "MiniMax 默认渠道-subscription"
    },
    "gateway": {
      "ok": true,
      "status_code": 200,
      "models": [
        "MiniMax-M2.5-highspeed",
        "MiniMax-M2.7-highspeed"
      ],
      "has_expected_model": true
    },
    "group": {
      "id": "6",
      "name": "MiniMax 默认分组-subscription"
    },
    "plan": {
      "id": "5",
      "name": "MiniMax 默认套餐-subscription"
    },
    "provider_status": "degraded"
  },
  "subscription_user_id": "26",
  "gateway_key_prefix": "sk-minimax-0",
  "batch_id": 6,
  "batch_detail": {
    "access_closures": [
      {
        "ID": 6,
        "BatchID": 6,
        "ClosureType": "subscription",
        "Status": "subscription_ready",
        "DetailsJSON": "{\"has_expected_model\":true,\"models\":[\"MiniMax-M2.5-highspeed\",\"MiniMax-M2.7-highspeed\"],\"ok\":true,\"status_code\":200}"
      }
    ],
    "access_count": 1,
    "batch": {
      "access_status": "subscription_ready",
      "batch_status": "partially_succeeded",
      "host_id": 1,
      "id": 6,
      "mode": "partial",
      "pack_id": 1,
      "provider_id": 3
    },
    "items": [
      {
        "account_status": "failed",
        "batch_id": 6,
        "id": 6,
        "key_fingerprint": "sha256:e596db01acd8bded5707675c39116a9d1291ad8ea197e5a2090d68f378944316",
        "probe_summary_json": "{\"account_id\":\"21\",\"models\":[{\"id\":\"MiniMax-M2.5-highspeed\",\"display_name\":\"MiniMax-M2.5-highspeed\",\"type\":\"model\"},{\"id\":\"MiniMax-M2.7-highspeed\",\"display_name\":\"MiniMax-M2.7-highspeed\",\"type\":\"model\"}],\"probe_message\":\"\",\"probe_ok\":false,\"probe_status\":\"failed\",\"smoke_model_seen\":true}"
      }
    ],
    "items_count": 1,
    "managed_count": 1,
    "managed_resources": [
      {
        "ID": 12,
        "BatchID": 6,
        "HostID": 1,
        "ResourceType": "account",
        "HostResourceID": "21",
        "ResourceName": "minimax-01"
      }
    ],
    "reconcile_count": 0,
    "reconcile_runs": []
  },
  "access_status": {
    "batch_access_status": "subscription_ready",
    "batch_id": 6,
    "closures_count": 1,
    "latest_access_status": "subscription_ready",
    "latest_closure": {
      "closure_type": "subscription",
      "details_json": "{\"has_expected_model\":true,\"models\":[\"MiniMax-M2.5-highspeed\",\"MiniMax-M2.7-highspeed\"],\"ok\":true,\"status_code\":200}",
      "id": 6,
      "status": "subscription_ready"
    },
    "pack_id": "openai-cn-pack",
    "provider_id": "minimax"
  },
  "host_account_id": "21",
  "host_channel_id": "5",
  "host_account": {
    "code": 0,
    "message": "success",
    "data": {
      "id": 21,
      "name": "minimax-01",
      "notes": null,
      "platform": "openai",
      "type": "apikey",
      "credentials": {
        "api_key": "sk-bvv6BDVS9v6dvHYPo8rGluhxZ1TlrJzK0yfVF1c4F0G0zg9l",
        "base_url": "https://v2.aicodee.com/v1",
        "model_mapping": {
          "MiniMax-M2.5-highspeed": "MiniMax-M2.5-highspeed",
          "MiniMax-M2.7-highspeed": "MiniMax-M2.7-highspeed"
        }
      },
      "extra": {
        "openai_responses_supported": true
      },
      "proxy_id": null,
      "concurrency": 0,
      "priority": 0,
      "rate_multiplier": 1,
      "status": "active",
      "error_message": "",
      "last_used_at": null,
      "expires_at": null,
      "auto_pause_on_expired": true,
      "created_at": "2026-05-20T22:27:37.239873+08:00",
      "updated_at": "2026-05-20T22:27:38.9747+08:00",
      "schedulable": true,
      "rate_limited_at": null,
      "rate_limit_reset_at": null,
      "overload_until": null,
      "temp_unschedulable_until": null,
      "temp_unschedulable_reason": "",
      "session_window_start": null,
      "session_window_end": null,
      "session_window_status": "",
      "account_groups": [
        {
          "account_id": 21,
          "group_id": 6,
          "priority": 1,
          "created_at": "2026-05-20T22:27:37.244179+08:00",
          "group": {
            "id": 6,
            "name": "MiniMax 默认分组-subscription",
            "description": "",
            "platform": "openai",
            "rate_multiplier": 1,
            "is_exclusive": false,
            "status": "active",
            "subscription_type": "subscription",
            "daily_limit_usd": null,
            "weekly_limit_usd": null,
            "monthly_limit_usd": null,
            "allow_image_generation": false,
            "image_rate_independent": false,
            "image_rate_multiplier": 1,
            "image_price_1k": null,
            "image_price_2k": null,
            "image_price_4k": null,
            "claude_code_only": false,
            "fallback_group_id": null,
            "fallback_group_id_on_invalid_request": null,
            "allow_messages_dispatch": false,
            "require_oauth_only": false,
            "require_privacy_set": false,
            "rpm_limit": 0,
            "created_at": "2026-05-20T20:39:22.955452+08:00",
            "updated_at": "2026-05-20T20:39:22.955452+08:00"
          }
        }
      ],
      "group_ids": [
        6
      ],
      "groups": [
        {
          "id": 6,
          "name": "MiniMax 默认分组-subscription",
          "description": "",
          "platform": "openai",
          "rate_multiplier": 1,
          "is_exclusive": false,
          "status": "active",
          "subscription_type": "subscription",
          "daily_limit_usd": null,
          "weekly_limit_usd": null,
          "monthly_limit_usd": null,
          "allow_image_generation": false,
          "image_rate_independent": false,
          "image_rate_multiplier": 1,
          "image_price_1k": null,
          "image_price_2k": null,
          "image_price_4k": null,
          "claude_code_only": false,
          "fallback_group_id": null,
          "fallback_group_id_on_invalid_request": null,
          "allow_messages_dispatch": false,
          "require_oauth_only": false,
          "require_privacy_set": false,
          "rpm_limit": 0,
          "created_at": "2026-05-20T20:39:22.955452+08:00",
          "updated_at": "2026-05-20T20:39:22.955452+08:00"
        }
      ],
      "current_concurrency": 0
    }
  },
  "host_account_models": {
    "code": 0,
    "message": "success",
    "data": [
      {
        "id": "MiniMax-M2.7-highspeed",
        "object": "model",
        "created": 0,
        "owned_by": "",
        "type": "model",
        "display_name": "MiniMax-M2.7-highspeed"
      },
      {
        "id": "MiniMax-M2.5-highspeed",
        "object": "model",
        "created": 0,
        "owned_by": "",
        "type": "model",
        "display_name": "MiniMax-M2.5-highspeed"
      }
    ]
  },
  "host_channel": {
    "code": 0,
    "message": "success",
    "data": {
      "id": 5,
      "name": "MiniMax 默认渠道-subscription",
      "description": "",
      "status": "active",
      "billing_model_source": "channel_mapped",
      "restrict_models": true,
      "features": "",
      "features_config": {},
      "group_ids": [
        6
      ],
      "model_pricing": [],
      "model_mapping": {
        "openai": {
          "MiniMax-M2.5-highspeed": "MiniMax-M2.5-highspeed",
          "MiniMax-M2.7-highspeed": "MiniMax-M2.7-highspeed"
        }
      },
      "apply_pricing_to_account_stats": false,
      "account_stats_pricing_rules": [],
      "created_at": "2026-05-20T20:39:23Z",
      "updated_at": "2026-05-20T20:39:23Z"
    }
  },
  "gateway_models_status": 403,
  "gateway_models_body": {
    "error": {
      "message": "API Key is not assigned to any group and cannot be used. Please contact the administrator to assign it to a group.",
      "type": "permission_error"
    },
    "type": "error"
  }
}