{
  "provider_id": "deepseek",
  "import_http_status": 200,
  "import_body": {
    "accepted_keys_count": 1,
    "access_status": "subscription_ready",
    "accounts_count": 1,
    "batch_id": 5,
    "batch_status": "partially_succeeded",
    "channel": {
      "id": "4",
      "name": "DeepSeek 默认渠道-subscription"
    },
    "gateway": {
      "ok": true,
      "status_code": 200,
      "models": [
        "deepseek-v4-flash",
        "deepseek-v4-pro"
      ],
      "has_expected_model": true
    },
    "group": {
      "id": "5",
      "name": "DeepSeek 默认分组-subscription"
    },
    "plan": {
      "id": "4",
      "name": "DeepSeek 默认套餐-subscription"
    },
    "provider_status": "degraded"
  },
  "subscription_user_id": "24",
  "gateway_key_prefix": "sk-deepseek-",
  "batch_id": 5,
  "batch_detail": {
    "access_closures": [
      {
        "ID": 5,
        "BatchID": 5,
        "ClosureType": "subscription",
        "Status": "subscription_ready",
        "DetailsJSON": "{\"has_expected_model\":true,\"models\":[\"deepseek-v4-flash\",\"deepseek-v4-pro\"],\"ok\":true,\"status_code\":200}"
      }
    ],
    "access_count": 1,
    "batch": {
      "access_status": "subscription_ready",
      "batch_status": "partially_succeeded",
      "host_id": 1,
      "id": 5,
      "mode": "partial",
      "pack_id": 1,
      "provider_id": 1
    },
    "items": [
      {
        "account_status": "failed",
        "batch_id": 5,
        "id": 5,
        "key_fingerprint": "sha256:71c15291f4fa4044fdd7b80fb3b04295441122a2e0db4b9028e2e4e18919e202",
        "probe_summary_json": "{\"account_id\":\"20\",\"models\":[{\"id\":\"deepseek-v4-pro\",\"display_name\":\"deepseek-v4-pro\",\"type\":\"model\"},{\"id\":\"deepseek-v4-flash\",\"display_name\":\"deepseek-v4-flash\",\"type\":\"model\"}],\"probe_message\":\"\",\"probe_ok\":false,\"probe_status\":\"failed\",\"smoke_model_seen\":true}"
      }
    ],
    "items_count": 1,
    "managed_count": 1,
    "managed_resources": [
      {
        "ID": 11,
        "BatchID": 5,
        "HostID": 1,
        "ResourceType": "account",
        "HostResourceID": "20",
        "ResourceName": "deepseek-01"
      }
    ],
    "reconcile_count": 0,
    "reconcile_runs": []
  },
  "access_status": {
    "batch_access_status": "subscription_ready",
    "batch_id": 5,
    "closures_count": 1,
    "latest_access_status": "subscription_ready",
    "latest_closure": {
      "closure_type": "subscription",
      "details_json": "{\"has_expected_model\":true,\"models\":[\"deepseek-v4-flash\",\"deepseek-v4-pro\"],\"ok\":true,\"status_code\":200}",
      "id": 5,
      "status": "subscription_ready"
    },
    "pack_id": "openai-cn-pack",
    "provider_id": "deepseek"
  },
  "host_account_id": "20",
  "host_channel_id": "4",
  "host_account": {
    "code": 0,
    "message": "success",
    "data": {
      "id": 20,
      "name": "deepseek-01",
      "notes": null,
      "platform": "openai",
      "type": "apikey",
      "credentials": {
        "api_key": "sk-IknW1INpOCo00HWUgUdEpJ0gko6BrUPzRLqbMHRXAfoHExDZ",
        "base_url": "https://aitoken.quanfuli.cn/v1",
        "model_mapping": {
          "deepseek-v4-flash": "deepseek-v4-flash",
          "deepseek-v4-pro": "deepseek-v4-pro"
        }
      },
      "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:22.84296+08:00",
      "updated_at": "2026-05-20T22:27:24.709819+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": 20,
          "group_id": 5,
          "priority": 1,
          "created_at": "2026-05-20T22:27:22.850434+08:00",
          "group": {
            "id": 5,
            "name": "DeepSeek 默认分组-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-20T18:54:06.21433+08:00",
            "updated_at": "2026-05-20T18:54:06.21433+08:00"
          }
        }
      ],
      "group_ids": [
        5
      ],
      "groups": [
        {
          "id": 5,
          "name": "DeepSeek 默认分组-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-20T18:54:06.21433+08:00",
          "updated_at": "2026-05-20T18:54:06.21433+08:00"
        }
      ],
      "current_concurrency": 0
    }
  },
  "host_account_models": {
    "code": 0,
    "message": "success",
    "data": [
      {
        "id": "deepseek-v4-flash",
        "object": "model",
        "created": 0,
        "owned_by": "",
        "type": "model",
        "display_name": "deepseek-v4-flash"
      },
      {
        "id": "deepseek-v4-pro",
        "object": "model",
        "created": 0,
        "owned_by": "",
        "type": "model",
        "display_name": "deepseek-v4-pro"
      }
    ]
  },
  "host_channel": {
    "code": 0,
    "message": "success",
    "data": {
      "id": 4,
      "name": "DeepSeek 默认渠道-subscription",
      "description": "",
      "status": "active",
      "billing_model_source": "channel_mapped",
      "restrict_models": true,
      "features": "",
      "features_config": {},
      "group_ids": [
        5
      ],
      "model_pricing": [
        {
          "id": 1,
          "platform": "openai",
          "models": [
            "deepseek-v4-pro",
            "deepseek-v4-flash"
          ],
          "billing_mode": "token",
          "input_price": null,
          "output_price": null,
          "cache_write_price": null,
          "cache_read_price": null,
          "image_output_price": null,
          "per_request_price": null,
          "intervals": []
        }
      ],
      "model_mapping": {
        "openai": {
          "deepseek-v4-flash": "deepseek-v4-flash",
          "deepseek-v4-pro": "deepseek-v4-pro"
        }
      },
      "apply_pricing_to_account_stats": false,
      "account_stats_pricing_rules": [],
      "created_at": "2026-05-20T18:54:06Z",
      "updated_at": "2026-05-20T20:50:30Z"
    }
  },
  "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"
  }
}