Files
sub2api-cn-relay-manager/artifacts/real-host-acceptance/20260518_redeploy_matrix/08-subscription-group-state.json
phamnazage-jpg 85d495dd16 feat(control-plane): harden host-scoped reconcile and acceptance evidence
- add batch-scoped reconcile_runs persistence and queries
- route batch detail and reconcile writes through batch_id/host_id
- refresh production boards with host-scope acceptance artifacts
- include latest real-host acceptance evidence for self_service and subscription
2026-05-18 22:22:22 +08:00

211 lines
6.8 KiB
JSON

{
"group_id": 4,
"group": {
"code": 0,
"message": "success",
"data": {
"id": 4,
"name": "Hermes Subscription Group",
"description": "for subscription validation",
"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-18T15:52:56.759077133+08:00",
"updated_at": "2026-05-18T15:52:56.759077203+08:00",
"model_routing": null,
"model_routing_enabled": false,
"mcp_xml_inject": true,
"default_mapped_model": "",
"messages_dispatch_model_config": {},
"supported_model_scopes": null,
"account_count": 1,
"sort_order": 0
}
},
"subscription": {
"code": 0,
"message": "success",
"data": {
"id": 1,
"user_id": 4,
"group_id": 4,
"starts_at": "2026-05-18T15:52:56.770332+08:00",
"expires_at": "2026-06-17T15:52:56.770332+08:00",
"status": "active",
"daily_window_start": null,
"weekly_window_start": null,
"monthly_window_start": null,
"daily_usage_usd": 0,
"weekly_usage_usd": 0,
"monthly_usage_usd": 0,
"created_at": "2026-05-18T15:52:56.770347+08:00",
"updated_at": "2026-05-18T15:52:56.770347+08:00",
"user": {
"id": 4,
"email": "relay-sub-090176@sub2api.local",
"username": "relay-sub-090176",
"role": "user",
"balance": 0,
"concurrency": 0,
"status": "active",
"allowed_groups": null,
"last_active_at": "2026-05-18T15:42:56.44723+08:00",
"created_at": "2026-05-18T15:42:56.384972+08:00",
"updated_at": "2026-05-18T15:42:56.447232+08:00",
"balance_notify_enabled": true,
"balance_notify_threshold_type": "fixed",
"balance_notify_threshold": null,
"balance_notify_extra_emails": null,
"total_recharged": 0,
"rpm_limit": 0
},
"group": {
"id": 4,
"name": "Hermes Subscription Group",
"description": "for subscription validation",
"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-18T15:52:56.759077+08:00",
"updated_at": "2026-05-18T15:52:56.759077+08:00"
},
"assigned_by": 1,
"assigned_at": "2026-05-18T15:52:56.770332+08:00",
"notes": "hermes subscription validation",
"assigned_by_user": {
"id": 1,
"email": "admin@sub2api.local",
"username": "",
"role": "admin",
"balance": 0,
"concurrency": 5,
"status": "active",
"allowed_groups": null,
"last_active_at": "2026-05-18T15:42:56.225655+08:00",
"created_at": "2026-05-18T15:38:22.02418+08:00",
"updated_at": "2026-05-18T15:42:56.225658+08:00",
"balance_notify_enabled": true,
"balance_notify_threshold_type": "fixed",
"balance_notify_threshold": null,
"balance_notify_extra_emails": null,
"total_recharged": 0,
"rpm_limit": 0
}
}
},
"key": {
"code": 0,
"message": "success",
"data": {
"api_key": {
"id": 2,
"user_id": 4,
"key": "sk-48539001307386d65fb3c5a110a38014b34beaa3042fb4a137f311499d8360eb",
"name": "relay-sub-090176-key",
"group_id": 4,
"status": "active",
"ip_whitelist": null,
"ip_blacklist": null,
"last_used_at": null,
"quota": 0,
"quota_used": 0,
"expires_at": null,
"created_at": "2026-05-18T15:42:56.451409+08:00",
"updated_at": "2026-05-18T15:52:56.778778253+08:00",
"rate_limit_5h": 0,
"rate_limit_1d": 0,
"rate_limit_7d": 0,
"usage_5h": 0,
"usage_1d": 0,
"usage_7d": 0,
"window_5h_start": null,
"window_1d_start": null,
"window_7d_start": null,
"user": {
"id": 4,
"email": "relay-sub-090176@sub2api.local",
"username": "relay-sub-090176",
"role": "user",
"balance": 0,
"concurrency": 0,
"status": "active",
"allowed_groups": null,
"last_active_at": "2026-05-18T15:42:56.44723+08:00",
"created_at": "2026-05-18T15:42:56.384972+08:00",
"updated_at": "2026-05-18T15:42:56.447232+08:00",
"balance_notify_enabled": true,
"balance_notify_threshold_type": "fixed",
"balance_notify_threshold": null,
"balance_notify_extra_emails": null,
"total_recharged": 0,
"rpm_limit": 0
},
"group": {
"id": 4,
"name": "Hermes Subscription Group",
"description": "for subscription validation",
"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-18T15:52:56.759077+08:00",
"updated_at": "2026-05-18T15:52:56.759077+08:00"
}
},
"auto_granted_group_access": false
}
}
}