{"openapi":"3.1.0","info":{"title":"TurboAPI","description":"Unified API marketplace platform","version":"0.1.0"},"paths":{"/api/v1/auth/login":{"post":{"tags":["Authentication"],"summary":"User Login","description":"Set cookie when login success HTTP-only Cookie: access_token(15 mins) / refresh_token(7 days or 1 days)","operationId":"login_api_v1_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_LoginResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/register":{"post":{"tags":["Authentication"],"summary":"User Register","description":"Setting cookie when register success","operationId":"register_api_v1_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_RegisterResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/me":{"get":{"tags":["Authentication"],"summary":"Get User Info","description":"Get User Info","operationId":"get_current_user_info_api_v1_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_AuthMeResponse_"}}}}}}},"/api/v1/auth/refresh":{"post":{"tags":["Authentication"],"summary":"Refresh Token","description":"use refresh_token cookie to get new access_token","operationId":"refresh_token_api_v1_auth_refresh_post","parameters":[{"name":"refresh_token","in":"cookie","required":false,"schema":{"type":"string","description":"refresh token","title":"Refresh Token"},"description":"refresh token"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_TokenResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/logout":{"post":{"tags":["Authentication"],"summary":"logout","description":"Clear all Cookie","operationId":"logout_api_v1_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_MessageResponse_"}}}}}}},"/api/v1/auth/send-verification":{"post":{"tags":["Authentication"],"summary":"Send Verify Email","description":"发送验证邮件","operationId":"send_verification_email_api_v1_auth_send_verification_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendVerificationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_MessageResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/verify-email":{"post":{"tags":["Authentication"],"summary":"Verify Email","description":"验证邮箱","operationId":"verify_email_api_v1_auth_verify_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyEmailRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_MessageResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/send-password-reset":{"post":{"tags":["Authentication"],"summary":"Send Reset password","description":"发送密码重置邮件","operationId":"send_password_reset_api_v1_auth_send_password_reset_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendVerificationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_MessageResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/reset-password":{"post":{"tags":["Authentication"],"summary":"reset password","description":"重置密码","operationId":"reset_password_api_v1_auth_reset_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_MessageResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/oauth/{provider}/url":{"get":{"tags":["Authentication"],"summary":"Get OAuth URL","description":"获取 OAuth 授权 URL","operationId":"get_oauth_url_api_v1_auth_oauth__provider__url_get","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/auth/oauth/{provider}/callback":{"get":{"tags":["Authentication"],"summary":"OAuth Callback","description":"OAuth 回调处理","operationId":"oauth_callback_api_v1_auth_oauth__provider__callback_get","parameters":[{"name":"provider","in":"path","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"code","in":"query","required":true,"schema":{"type":"string","title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_dict_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/users/me":{"get":{"tags":["User Management"],"summary":"Get Current User Profile","description":"获取当前用户资料 - 需要认证","operationId":"get_current_user_profile_api_v1_users_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_UserResponse_"}}}}}}},"/api/v1/users/me/profile":{"patch":{"tags":["User Management"],"summary":"Update User Profile","description":"更新用户资料 - 需要认证","operationId":"update_user_profile_api_v1_users_me_profile_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_UserResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/users/me/avatar":{"patch":{"tags":["User Management"],"summary":"Upload Avatar","description":"上传用户头像 - 需要认证\n\n支持的格式: JPG, PNG, GIF, WebP\n最大大小: 5MB","operationId":"upload_avatar_api_v1_users_me_avatar_patch","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_avatar_api_v1_users_me_avatar_patch"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_MessageResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/users/me/preferences":{"patch":{"tags":["User Management"],"summary":"Update Preferences","description":"更新用户偏好设置 - 需要认证","operationId":"update_preferences_api_v1_users_me_preferences_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferencesUpdateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_MessageResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/api-keys":{"get":{"tags":["API Keys Management"],"summary":"List User Api Keys","description":"获取当前用户的 API Keys - 需要认证","operationId":"list_user_api_keys_api_v1_api_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_APIKeyResponse__"}}}}}},"post":{"tags":["API Keys Management"],"summary":"Create User Api Key","description":"创建新的 API Key - 需要认证","operationId":"create_user_api_key_api_v1_api_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAPIKeyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_APIKeyResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/api-keys/{key_id}":{"get":{"tags":["API Keys Management"],"summary":"Get Api Key Detail","description":"获取 API Key 详情 - 需要认证","operationId":"get_api_key_detail_api_v1_api_keys__key_id__get","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_APIKeyResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["API Keys Management"],"summary":"Update Api Key","description":"更新 API Key - 需要认证","operationId":"update_api_key_api_v1_api_keys__key_id__patch","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAPIKeyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_APIKeyResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["API Keys Management"],"summary":"Delete Api Key","description":"删除指定的 API Key\n\nDELETE /users/me/api-keys/{key_id}","operationId":"delete_api_key_api_v1_api_keys__key_id__delete","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_MessageResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/api-keys/{key_id}/rotate":{"post":{"tags":["API Keys Management"],"summary":"Rotate Api Key","description":"轮换 API Key (重新生成 key value) - 需要认证","operationId":"rotate_api_key_api_v1_api_keys__key_id__rotate_post","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_APIKeyResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/users":{"get":{"tags":["Admin Management"],"summary":"List Users","description":"获取用户列表 - 仅超级管理员可访问","operationId":"list_users_api_v1_admin_users_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Page Size"}},{"name":"role_filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role Filter"}},{"name":"status_filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Filter"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_UserResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Admin Management"],"summary":"Create User","description":"创建新用户 - 仅超级管理员可访问","operationId":"create_user_api_v1_admin_users_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_UserResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/users/{user_id}/grant-points":{"post":{"tags":["Admin Management"],"summary":"Grant Points To User","description":"为用户发放积分 - 仅管理员可访问","operationId":"grant_points_to_user_api_v1_admin_users__user_id__grant_points_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantPointsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_PointsOperationResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/users/{user_id}":{"get":{"tags":["Admin Management"],"summary":"Get User Detail","description":"获取用户详情 - 仅超级管理员可访问","operationId":"get_user_detail_api_v1_admin_users__user_id__get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_UserResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/users/{user_id}/role":{"patch":{"tags":["Admin Management"],"summary":"Update User Role","description":"更新用户角色 - 仅超级管理员可访问\n\n可以：\n- 修改主角色 (admin/developer/provider)\n- 添加额外角色列表","operationId":"update_user_role_api_v1_admin_users__user_id__role_patch","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserRoleRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_UserResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/users/{user_id}/status":{"patch":{"tags":["Admin Management"],"summary":"Update User Status","description":"更新用户状态 - 仅超级管理员可访问","operationId":"update_user_status_api_v1_admin_users__user_id__status_patch","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserStatusRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_UserResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/users/{user_id}/promote-to-provider":{"post":{"tags":["Admin Management"],"summary":"Promote User To Provider","description":"将用户标记为 provider - 仅超级管理员可访问","operationId":"promote_user_to_provider_api_v1_admin_users__user_id__promote_to_provider_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_UserResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/users/{user_id}/revoke-provider":{"post":{"tags":["Admin Management"],"summary":"Revoke Provider Role","description":"撤销用户的 provider 角色 - 仅超级管理员可访问","operationId":"revoke_provider_role_api_v1_admin_users__user_id__revoke_provider_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_UserResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/users/{user_id}/credit-points":{"post":{"tags":["Admin Management"],"summary":"Credit User Points","description":"管理员给用户充值积分 - 仅超级管理员可访问","operationId":"credit_user_points_api_v1_admin_users__user_id__credit_points_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditUserPointsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_PointsOperationResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/apis":{"get":{"tags":["Admin Management"],"summary":"List Apis","description":"获取 API 列表 - 仅管理员可访问","operationId":"list_apis_api_v1_admin_apis_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Page Size"}},{"name":"status_filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Filter"}},{"name":"category_filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category Filter"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_APIResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/apis/{api_id}":{"get":{"tags":["Admin Management"],"summary":"Get Api Detail","description":"获取 API 详情 - 仅管理员可访问","operationId":"get_api_detail_api_v1_admin_apis__api_id__get","parameters":[{"name":"api_id","in":"path","required":true,"schema":{"type":"string","title":"Api Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_APIResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/apis/{api_id}/approve":{"post":{"tags":["Admin Management"],"summary":"Approve Api","description":"审批 API - 仅管理员可访问","operationId":"approve_api_api_v1_admin_apis__api_id__approve_post","parameters":[{"name":"api_id","in":"path","required":true,"schema":{"type":"string","title":"Api Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/APIApprovalRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_MessageResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/apis/{api_id}/disable":{"post":{"tags":["Admin Management"],"summary":"Disable Api","description":"禁用 API - 仅管理员可访问","operationId":"disable_api_api_v1_admin_apis__api_id__disable_post","parameters":[{"name":"api_id","in":"path","required":true,"schema":{"type":"string","title":"Api Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_MessageResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/apis/{api_id}/enable":{"post":{"tags":["Admin Management"],"summary":"Enable Api","description":"启用 API - 仅管理员可访问","operationId":"enable_api_api_v1_admin_apis__api_id__enable_post","parameters":[{"name":"api_id","in":"path","required":true,"schema":{"type":"string","title":"Api Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_MessageResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/upstream-platforms":{"get":{"tags":["Admin Management"],"summary":"List Upstream Platforms","operationId":"list_upstream_platforms_api_v1_admin_upstream_platforms_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Page Size"}},{"name":"status_filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Filter"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_UpstreamPlatformResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Admin Management"],"summary":"Create Upstream Platform","operationId":"create_upstream_platform_api_v1_admin_upstream_platforms_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpstreamPlatformCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_UpstreamPlatformResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/upstream-platforms/{platform_id}":{"get":{"tags":["Admin Management"],"summary":"Get Upstream Platform Detail","operationId":"get_upstream_platform_detail_api_v1_admin_upstream_platforms__platform_id__get","parameters":[{"name":"platform_id","in":"path","required":true,"schema":{"type":"string","title":"Platform Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_UpstreamPlatformResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Admin Management"],"summary":"Update Upstream Platform","operationId":"update_upstream_platform_api_v1_admin_upstream_platforms__platform_id__patch","parameters":[{"name":"platform_id","in":"path","required":true,"schema":{"type":"string","title":"Platform Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpstreamPlatformUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_UpstreamPlatformResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/apis/{api_id}/upstream-platform":{"post":{"tags":["Admin Management"],"summary":"Bind Api Upstream Platform","operationId":"bind_api_upstream_platform_api_v1_admin_apis__api_id__upstream_platform_post","parameters":[{"name":"api_id","in":"path","required":true,"schema":{"type":"string","title":"Api Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BindUpstreamPlatformRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_APIResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/monitoring/overview":{"get":{"tags":["Admin Management"],"summary":"Get System Overview","description":"获取系统概览 - 仅管理员可访问","operationId":"get_system_overview_api_v1_admin_monitoring_overview_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_SystemOverviewResponse_"}}}}}}},"/api/v1/admin/monitoring/health":{"get":{"tags":["Admin Management"],"summary":"Get Services Health","description":"获取服务健康状态 - 仅管理员可访问","operationId":"get_services_health_api_v1_admin_monitoring_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_SystemHealthResponse_"}}}}}}},"/api/v1/admin/monitoring/usage/daily":{"get":{"tags":["Admin Management"],"summary":"Get Daily Usage","description":"获取每日使用统计 - 仅管理员可访问","operationId":"get_daily_usage_api_v1_admin_monitoring_usage_daily_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":7,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_DailyUsageStatsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/revenue-by-category":{"get":{"tags":["Admin Management"],"summary":"Get Revenue By Category","description":"获取分类收入统计\n\nGET /admin/analytics/revenue-by-category?days=30","operationId":"get_revenue_by_category_api_v1_admin_analytics_revenue_by_category_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_RevenueByCategoryResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/analytics/geo-distribution":{"get":{"tags":["Admin Management"],"summary":"Get Geo Distribution","description":"获取地理分布统计\n\nGET /admin/analytics/geo-distribution","operationId":"get_geo_distribution_api_v1_admin_analytics_geo_distribution_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_GeoDistributionResponse_"}}}}}}},"/api/v1/admin/analytics/top-providers":{"get":{"tags":["Admin Management"],"summary":"Get Top Providers","description":"获取 Top 提供商\n\nGET /admin/analytics/top-providers?limit=10","operationId":"get_top_providers_api_v1_admin_analytics_top_providers_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_TopProvidersResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/audit-logs":{"get":{"tags":["Admin Management"],"summary":"List Audit Logs","description":"获取审计日志列表 - 仅管理员可访问","operationId":"list_audit_logs_api_v1_admin_audit_logs_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Page Size"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},{"name":"resource_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource Type"}},{"name":"resource_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource Id"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__common__SuccessResponse_ListResponse_AuditLogResponse____1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/audit-logs/{log_id}":{"get":{"tags":["Admin Management"],"summary":"Get Audit Log Detail","description":"获取审计日志详情 - 仅管理员可访问","operationId":"get_audit_log_detail_api_v1_admin_audit_logs__log_id__get","parameters":[{"name":"log_id","in":"path","required":true,"schema":{"type":"string","title":"Log Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__common__SuccessResponse_AuditLogResponse___1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/categories":{"get":{"tags":["Admin Management"],"summary":"List Categories","description":"获取所有分类 - 仅管理员可访问","operationId":"list_categories_api_v1_admin_categories_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_CategoryResponse__"}}}}}}},"/api/v1/admin/internal-apis/available":{"get":{"tags":["Admin Management"],"summary":"List Available Internal Apis","description":"获取所有可用的内部 API Handlers\n\n返回所有已注册的内部 API Handler 列表，供管理员选择发布","operationId":"list_available_internal_apis_api_v1_admin_internal_apis_available_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_InternalAPIListResponse_"}}}}}}},"/api/v1/admin/internal-apis/publish":{"post":{"tags":["Admin Management"],"summary":"Publish Internal Api","description":"一键发布内部 API\n\n根据 handler_name 自动从 registry 获取元数据，创建 API 记录","operationId":"publish_internal_api_api_v1_admin_internal_apis_publish_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishInternalAPIRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_APIResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/internal-apis/{api_id}":{"delete":{"tags":["Admin Management"],"summary":"Delete Internal Api","description":"删除内部 API（软删除）","operationId":"delete_internal_api_api_v1_admin_internal_apis__api_id__delete","parameters":[{"name":"api_id","in":"path","required":true,"schema":{"type":"string","title":"Api Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_MessageResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/call-logs":{"get":{"tags":["Admin Management"],"summary":"List Admin Call Logs","description":"获取所有调用日志（管理员）\n\nGET /admin/call-logs","operationId":"list_admin_call_logs_api_v1_admin_call_logs_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Page Size"}},{"name":"api_key_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key Id"}},{"name":"api_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_CallLogResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/call-logs/{log_id}":{"get":{"tags":["Admin Management"],"summary":"Get Admin Call Log Detail","description":"获取指定调用日志详情（管理员）\n\nGET /admin/call-logs/{log_id}","operationId":"get_admin_call_log_detail_api_v1_admin_call_logs__log_id__get","parameters":[{"name":"log_id","in":"path","required":true,"schema":{"type":"string","title":"Log Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_CallLogResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/webhooks":{"get":{"tags":["Admin Management"],"summary":"List Admin Webhooks","description":"获取所有 Webhook 配置（管理员）\n\nGET /admin/webhooks","operationId":"list_admin_webhooks_api_v1_admin_webhooks_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_WebhookResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/webhooks/{webhook_id}":{"get":{"tags":["Admin Management"],"summary":"Get Admin Webhook Detail","description":"获取指定 Webhook 配置详情（管理员）\n\nGET /admin/webhooks/{webhook_id}","operationId":"get_admin_webhook_detail_api_v1_admin_webhooks__webhook_id__get","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_WebhookResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/webhook/logs":{"get":{"tags":["Admin Management"],"summary":"List Admin Webhook Logs","description":"获取所有 Webhook 投递日志（管理员）\n\nGET /admin/webhook/logs","operationId":"list_admin_webhook_logs_api_v1_admin_webhook_logs_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Page Size"}},{"name":"subscription_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subscription Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_WebhookDeliveryResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/webhook/logs/{log_id}":{"get":{"tags":["Admin Management"],"summary":"Get Admin Webhook Log Detail","description":"获取指定 Webhook 投递日志详情（管理员）\n\nGET /admin/webhook/logs/{log_id}","operationId":"get_admin_webhook_log_detail_api_v1_admin_webhook_logs__log_id__get","parameters":[{"name":"log_id","in":"path","required":true,"schema":{"type":"string","title":"Log Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_WebhookDeliveryResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/payments":{"get":{"tags":["Admin Management"],"summary":"List Admin Payments","description":"获取所有支付记录（管理员）\n\nGET /admin/payments","operationId":"list_admin_payments_api_v1_admin_payments_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Page Size"}},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__common__SuccessResponse_ListResponse_TransactionResponse____1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/payments/{payment_id}":{"get":{"tags":["Admin Management"],"summary":"Get Admin Payment Detail","description":"获取指定支付详情（管理员）\n\nGET /admin/payments/{payment_id}","operationId":"get_admin_payment_detail_api_v1_admin_payments__payment_id__get","parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"string","title":"Payment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_TransactionResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/payments/stats":{"get":{"tags":["Admin Management"],"summary":"Get Admin Payment Stats","description":"获取支付统计（管理员）\n\nGET /admin/payments/stats","operationId":"get_admin_payment_stats_api_v1_admin_payments_stats_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_PaymentStatsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/providers":{"get":{"tags":["Admin Management"],"summary":"Admin List Providers","description":"列出所有 Provider","operationId":"admin_list_providers_api_v1_admin_providers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Admin Management"],"summary":"Admin Create Provider","description":"创建 Provider","operationId":"admin_create_provider_api_v1_admin_providers_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/providers/{provider_code}/config":{"put":{"tags":["Admin Management"],"summary":"Admin Update Provider Config","description":"配置 Provider 的 API Key","operationId":"admin_update_provider_config_api_v1_admin_providers__provider_code__config_put","parameters":[{"name":"provider_code","in":"path","required":true,"schema":{"type":"string","title":"Provider Code"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/admin/providers/{provider_code}":{"put":{"tags":["Admin Management"],"summary":"Admin Toggle Provider","description":"启用/禁用 Provider","operationId":"admin_toggle_provider_api_v1_admin_providers__provider_code__put","parameters":[{"name":"provider_code","in":"path","required":true,"schema":{"type":"string","title":"Provider Code"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/apis":{"get":{"tags":["API Market"],"summary":"List Apis","description":"获取 API 列表 - 公开访问","operationId":"list_apis_api_v1_apis_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Page Size"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by category ID","title":"Category"},"description":"Filter by category ID"},{"name":"tags","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Filter by tag names (comma-separated)","title":"Tags"},"description":"Filter by tag names (comma-separated)"},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Search in name and description","title":"Search"},"description":"Search in name and description"},{"name":"sort_by","in":"query","required":false,"schema":{"type":"string","description":"Sort field","default":"created_at","title":"Sort By"},"description":"Sort field"},{"name":"sort_order","in":"query","required":false,"schema":{"type":"string","description":"Sort order: asc or desc","default":"desc","title":"Sort Order"},"description":"Sort order: asc or desc"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_APIResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["API Market"],"summary":"Create Api","description":"创建 API - 需要 api:create 权限","operationId":"create_api_api_v1_apis_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAPIRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_APIResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/apis/categories":{"get":{"tags":["API Market"],"summary":"List Api Categories","description":"获取 API 分类列表 - 公开访问","operationId":"list_api_categories_api_v1_apis_categories_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_CategoryResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/apis/{api_slug}":{"get":{"tags":["API Market"],"summary":"Get Api","description":"获取 API 详情 - 公开访问","operationId":"get_api_api_v1_apis__api_slug__get","parameters":[{"name":"api_slug","in":"path","required":true,"schema":{"type":"string","title":"Api Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_APIResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["API Market"],"summary":"Update Api","description":"全量更新 API - 需要 api:update 权限","operationId":"update_api_api_v1_apis__api_slug__put","parameters":[{"name":"api_slug","in":"path","required":true,"schema":{"type":"string","title":"Api Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Api Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_APIResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["API Market"],"summary":"Patch Api","description":"部分更新 API - 需要 api:update 权限","operationId":"patch_api_api_v1_apis__api_slug__patch","parameters":[{"name":"api_slug","in":"path","required":true,"schema":{"type":"string","title":"Api Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Api Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_APIResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["API Market"],"summary":"Delete Api","description":"删除 API - 需要 api:delete 权限","operationId":"delete_api_api_v1_apis__api_slug__delete","parameters":[{"name":"api_slug","in":"path","required":true,"schema":{"type":"string","title":"Api Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_MessageResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/call":{"post":{"tags":["Unified API Call"],"summary":"Create Task","description":"创建任务\n\n- POST /call {\"slug_id\": \"karaoke-maker\", \"input\": {...}}\n- 返回 {\"success\": True, \"data\": {...}, \"metadata\": {...}}","operationId":"create_task_api_v1_call_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_TaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/call/{task_id}":{"get":{"tags":["Unified API Call"],"summary":"Get Task Detail","description":"获取任务状态\n\n- GET /call/{task_id}","operationId":"get_task_detail_api_v1_call__task_id__get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_TaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/call/{task_id}/cancel":{"post":{"tags":["Unified API Call"],"summary":"Cancel Task","description":"取消任务","operationId":"cancel_task_api_v1_call__task_id__cancel_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_MessageResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tasks":{"get":{"tags":["Tasks"],"summary":"List Current User Tasks","description":"获取当前登录用户的任务列表。","operationId":"list_current_user_tasks_api_v1_tasks_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TaskStatus"},{"type":"null"}],"title":"Status"}},{"name":"api_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Slug"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_TaskResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tasks/{task_id}":{"get":{"tags":["Tasks"],"summary":"Get Current User Task Detail","description":"获取当前登录用户的任务详情。","operationId":"get_current_user_task_detail_api_v1_tasks__task_id__get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_TaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tasks/{task_id}/logs":{"get":{"tags":["Tasks"],"summary":"Get Task Logs","description":"获取任务的执行日志。","operationId":"get_task_logs_api_v1_tasks__task_id__logs_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_TaskLogItem__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/playground/call":{"post":{"tags":["Playground"],"summary":"Create Playground Task","description":"前端 playground 调用入口，使用服务端默认 API Key。","operationId":"create_playground_task_api_v1_playground_call_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_TaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/playground/call/{task_id}":{"get":{"tags":["Playground"],"summary":"Get Playground Task Detail","description":"查询 playground 提交的任务详情。","operationId":"get_playground_task_detail_api_v1_playground_call__task_id__get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_TaskResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/playground/call/{task_id}/cancel":{"post":{"tags":["Playground"],"summary":"Cancel Playground Task","description":"取消 playground 提交的任务。","operationId":"cancel_playground_task_api_v1_playground_call__task_id__cancel_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_MessageResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payments/packages":{"get":{"tags":["Payments"],"summary":"List Point Packages","description":"获取积分套餐列表","operationId":"list_point_packages_api_v1_payments_packages_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__common__SuccessResponse_ListResponse_PointPackageResponse____1"}}}}}}},"/api/v1/payments/packages/{package_id}":{"get":{"tags":["Payments"],"summary":"Get Point Package","description":"获取指定积分套餐","operationId":"get_point_package_api_v1_payments_packages__package_id__get","parameters":[{"name":"package_id","in":"path","required":true,"schema":{"type":"string","title":"Package Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__common__SuccessResponse_PointPackageResponse___1"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payments/plans":{"get":{"tags":["Payments"],"summary":"List Subscription Plans","description":"获取订阅计划列表","operationId":"list_subscription_plans_api_v1_payments_plans_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_SubscriptionPlanResponse__"}}}}}}},"/api/v1/payments/plans/{plan_id}":{"get":{"tags":["Payments"],"summary":"Get Subscription Plan","description":"获取指定订阅计划","operationId":"get_subscription_plan_api_v1_payments_plans__plan_id__get","parameters":[{"name":"plan_id","in":"path","required":true,"schema":{"type":"string","title":"Plan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_SubscriptionPlanResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payments/create-checkout-session":{"post":{"tags":["Payments"],"summary":"Create Checkout Session","description":"创建支付会话 - 使用 nc_base.payment SDK\n\n参数说明:\n- provider: 支付渠道 (paypal, stripe, clink)\n- order_type: 订单类型 (package=积分套餐, plan=订阅计划)\n- item_id: 套餐或计划的 ID\n- amount: 支付金额\n- currency: 货币代码 (默认 USD)\n- success_url: 支付成功跳转地址\n- cancel_url: 支付取消跳转地址\n- metadata: 自定义元数据","operationId":"create_checkout_session_api_v1_payments_create_checkout_session_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePaymentRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Checkout Session Api V1 Payments Create Checkout Session Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payments/verify/{payment_provider}":{"post":{"tags":["Payments"],"summary":"Verify Payment","description":"验证支付状态并发放积分\n\n用于前端轮询支付结果或支付成功回调失败时的补发","operationId":"verify_payment_api_v1_payments_verify__payment_provider__post","parameters":[{"name":"payment_provider","in":"path","required":true,"schema":{"type":"string","title":"Payment Provider"}},{"name":"payment_id","in":"query","required":true,"schema":{"type":"string","title":"Payment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Verify Payment Api V1 Payments Verify  Payment Provider  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payments/history":{"get":{"tags":["Payments"],"summary":"Get Payment History","description":"获取支付历史","operationId":"get_payment_history_api_v1_payments_history_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Page Size"}},{"name":"payment_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Payment History Api V1 Payments History Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payments/config":{"get":{"tags":["Payments"],"summary":"Get Payment Config","description":"获取前端支付配置（不暴露密钥）","operationId":"get_payment_config_api_v1_payments_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Payment Config Api V1 Payments Config Get"}}}}}}},"/api/v1/payments/webhook/{channel_code}":{"post":{"tags":["Payments"],"summary":"Payment Webhook","description":"支付网关 Webhook 回调接收接口\n\n接收 PayPal/Stripe 等支付网关的异步回调","operationId":"payment_webhook_api_v1_payments_webhook__channel_code__post","parameters":[{"name":"channel_code","in":"path","required":true,"schema":{"type":"string","title":"Channel Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Payment Webhook Api V1 Payments Webhook  Channel Code  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/payments/{payment_id}":{"get":{"tags":["Payments"],"summary":"Get Payment Detail","description":"获取支付详情\n\nGET /payments/{payment_id}","operationId":"get_payment_detail_api_v1_payments__payment_id__get","parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"string","title":"Payment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Payment Detail Api V1 Payments  Payment Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/balance":{"get":{"tags":["Billing"],"summary":"Get Balance","operationId":"get_balance_api_v1_billing_balance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_BalanceResponse_"}}}}}}},"/api/v1/billing/transactions":{"get":{"tags":["Billing"],"summary":"List Transactions","operationId":"list_transactions_api_v1_billing_transactions_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Page Size"}},{"name":"transaction_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transaction Type"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__common__SuccessResponse_ListResponse_TransactionResponse____2"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/stats/usage":{"get":{"tags":["Billing"],"summary":"Get Usage Stats","operationId":"get_usage_stats_api_v1_billing_stats_usage_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_UsageStatsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/packages":{"get":{"tags":["Billing"],"summary":"List Point Packages","operationId":"list_point_packages_api_v1_billing_packages_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__common__SuccessResponse_ListResponse_PointPackageResponse____2"}}}}}}},"/api/v1/billing/packages/{package_id}":{"get":{"tags":["Billing"],"summary":"Get Point Package","operationId":"get_point_package_api_v1_billing_packages__package_id__get","parameters":[{"name":"package_id","in":"path","required":true,"schema":{"type":"integer","title":"Package Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__common__SuccessResponse_PointPackageResponse___2"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/orders":{"post":{"tags":["Billing"],"summary":"Create Point Order","operationId":"create_point_order_api_v1_billing_orders_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrderRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_PointOrderResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Billing"],"summary":"List Point Orders","operationId":"list_point_orders_api_v1_billing_orders_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_PointOrderResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/orders/{order_id}":{"get":{"tags":["Billing"],"summary":"Get Point Order","operationId":"get_point_order_api_v1_billing_orders__order_id__get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"string","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_PointOrderResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/billing/pricing-strategy-types":{"get":{"tags":["Billing"],"summary":"List Pricing Strategy Types","operationId":"list_pricing_strategy_types_api_v1_billing_pricing_strategy_types_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_PricingStrategyTypeResponse__"}}}}}}},"/api/v1/billing/api-pricing-strategies/{api_id}":{"get":{"tags":["Billing"],"summary":"Get Api Pricing Strategies","operationId":"get_api_pricing_strategies_api_v1_billing_api_pricing_strategies__api_id__get","parameters":[{"name":"api_id","in":"path","required":true,"schema":{"type":"string","title":"Api Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_APIPricingStrategyResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/call-logs":{"get":{"tags":["Call Logs"],"summary":"List Call Logs","description":"获取当前用户的API调用日志\n\n支持筛选:\n- api_key_id: 特定 API Key 的日志\n- api_id: 特定 API 的日志\n- status: success 或 error\n- start_date/end_date: 日期范围 (ISO格式)","operationId":"list_call_logs_api_v1_call_logs_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Page Size"}},{"name":"api_key_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key Id"}},{"name":"api_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Id"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"method","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Method"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_CallLogResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/call-logs/{log_id}":{"get":{"tags":["Call Logs"],"summary":"Get Call Log Detail","description":"获取单个调用日志的详细信息\n\n包含完整的请求、响应、异步任务输出、Webhook 投递状态","operationId":"get_call_log_detail_api_v1_call_logs__log_id__get","parameters":[{"name":"log_id","in":"path","required":true,"schema":{"type":"string","title":"Log Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_CallLogDetailResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/call-logs/stats/by-api-key":{"get":{"tags":["Call Logs"],"summary":"Get Stats By Api Key","description":"获取指定 API Key 的调用统计\n\n返回最近N天的调用统计:\n- 总调用次数\n- 成功/失败次数\n- 总消耗积分\n- 平均响应时间","operationId":"get_stats_by_api_key_api_v1_call_logs_stats_by_api_key_get","parameters":[{"name":"api_key_id","in":"query","required":true,"schema":{"type":"string","title":"Api Key Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_APIKeyStatsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/call-logs/stats/summary":{"get":{"tags":["Call Logs"],"summary":"Get Call Logs Summary","description":"获取调用日志统计摘要\n\n返回最近N天的调用统计:\n- 总调用次数\n- 成功/失败次数\n- 总消耗积分\n- 平均响应时间","operationId":"get_call_logs_summary_api_v1_call_logs_stats_summary_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_CallLogsSummaryResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/call-logs/api-keys/{api_key_id}/usage":{"get":{"tags":["Call Logs"],"summary":"Get Api Key Usage","description":"获取指定 API Key 的详细使用情况\n\n返回:\n- 调用统计\n- 按 API 分组的调用次数\n- 积分消耗趋势","operationId":"get_api_key_usage_api_v1_call_logs_api_keys__api_key_id__usage_get","parameters":[{"name":"api_key_id","in":"path","required":true,"schema":{"type":"string","title":"Api Key Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_APIKeyUsageResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/internal/tasks/callback/{platform_code}":{"post":{"tags":["Internal Tasks"],"summary":"Receive Upstream Task Callback","operationId":"receive_upstream_task_callback_api_v1_internal_tasks_callback__platform_code__post","parameters":[{"name":"platform_code","in":"path","required":true,"schema":{"type":"string","title":"Platform Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/monitoring/status":{"get":{"tags":["Monitoring"],"summary":"Get System Status","description":"获取系统状态 - 公开访问","operationId":"get_system_status_api_v1_monitoring_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_dict_"}}}}}}},"/api/v1/monitoring/statistics":{"get":{"tags":["Monitoring"],"summary":"Get System Statistics","description":"获取系统统计 - 公开访问","operationId":"get_system_statistics_api_v1_monitoring_statistics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_dict_"}}}}}}},"/api/v1/webhooks":{"get":{"tags":["Webhooks"],"summary":"List Subscriptions","description":"获取用户的 Webhook 订阅列表","operationId":"list_subscriptions_api_v1_webhooks_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Page Size"}},{"name":"active_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Active Only"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_WebhookResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Webhooks"],"summary":"Create Subscription","description":"创建新的 Webhook 订阅","operationId":"create_subscription_api_v1_webhooks_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_WebhookResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/{subscription_id}":{"get":{"tags":["Webhooks"],"summary":"Get Subscription","description":"获取 Webhook 订阅详情","operationId":"get_subscription_api_v1_webhooks__subscription_id__get","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","title":"Subscription Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_WebhookDetailResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Webhooks"],"summary":"Update Subscription","description":"更新 Webhook 订阅","operationId":"update_subscription_api_v1_webhooks__subscription_id__put","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","title":"Subscription Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_WebhookResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Webhooks"],"summary":"Delete Subscription","description":"删除 Webhook 订阅","operationId":"delete_subscription_api_v1_webhooks__subscription_id__delete","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","title":"Subscription Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_WebhookResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/{subscription_id}/deliveries":{"get":{"tags":["Webhooks"],"summary":"List Deliveries","description":"获取 Webhook 投递记录","operationId":"list_deliveries_api_v1_webhooks__subscription_id__deliveries_get","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","title":"Subscription Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_ListResponse_WebhookDeliveryResponse__"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/{subscription_id}/deliveries/{delivery_id}":{"get":{"tags":["Webhooks"],"summary":"Get Delivery","description":"获取 Webhook 投递详情","operationId":"get_delivery_api_v1_webhooks__subscription_id__deliveries__delivery_id__get","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","title":"Subscription Id"}},{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","title":"Delivery Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_WebhookDeliveryResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/{subscription_id}/stats":{"get":{"tags":["Webhooks"],"summary":"Get Subscription Stats","description":"获取 Webhook 统计信息","operationId":"get_subscription_stats_api_v1_webhooks__subscription_id__stats_get","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","title":"Subscription Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_WebhookStatsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/webhooks/{subscription_id}/test":{"post":{"tags":["Webhooks"],"summary":"Test Webhook","description":"测试 Webhook","operationId":"test_webhook_api_v1_webhooks__subscription_id__test_post","parameters":[{"name":"subscription_id","in":"path","required":true,"schema":{"type":"string","title":"Subscription Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookTestRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_WebhookTestResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/audit-logs":{"get":{"tags":["Audit Logs"],"summary":"Get My Audit Logs","description":"获取当前用户的审计日志","operationId":"get_my_audit_logs_api_v1_audit_logs_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Page Size"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__common__SuccessResponse_ListResponse_AuditLogResponse____2"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/audit-logs/{log_id}":{"get":{"tags":["Audit Logs"],"summary":"Get My Audit Log Detail","description":"获取指定审计日志详情\n\nGET /users/me/audit-logs/{log_id}","operationId":"get_my_audit_log_detail_api_v1_audit_logs__log_id__get","parameters":[{"name":"log_id","in":"path","required":true,"schema":{"type":"string","title":"Log Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/app__schemas__common__SuccessResponse_AuditLogResponse___2"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/stats/by-api":{"get":{"tags":["Statistics"],"summary":"Get User Stats By Api","description":"Get user points consumption by API","operationId":"get_user_stats_by_api_api_v1_stats_by_api_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Page Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_UserStatsResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/stats/trend":{"get":{"tags":["Statistics"],"summary":"Get User Stats Trend","description":"Get user points consumption trend (daily)","operationId":"get_user_stats_trend_api_v1_stats_trend_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_TrendResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/stats/summary":{"get":{"tags":["Statistics"],"summary":"Get User Stats Summary","description":"Get user points consumption summary","operationId":"get_user_stats_summary_api_v1_stats_summary_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_StatsSummaryResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/chat/completions":{"post":{"tags":["LLM Proxy"],"summary":"Create Chat Completion","description":"Chat Completions - OpenAI 兼容接口\n\n认证方式：Authorization: Bearer {api_key}","operationId":"create_chat_completion_api_v1_chat_completions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/models":{"get":{"tags":["LLM Proxy"],"summary":"List Models","description":"获取可用模型列表","operationId":"list_models_api_v1_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/usage/summary":{"get":{"tags":["Usage Statistics"],"summary":"Get Usage Summary","description":"获取用量概览","operationId":"get_usage_summary_api_v1_usage_summary_get","parameters":[{"name":"period","in":"query","required":false,"schema":{"type":"string","default":"month","title":"Period"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/usage/logs":{"get":{"tags":["Usage Statistics"],"summary":"Get Usage Logs","description":"获取用量明细","operationId":"get_usage_logs_api_v1_usage_logs_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":20,"title":"Page Size"}},{"name":"period","in":"query","required":false,"schema":{"type":"string","default":"month","title":"Period"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/usage/trend":{"get":{"tags":["Usage Statistics"],"summary":"Get Usage Trend","description":"获取每日用量趋势","operationId":"get_usage_trend_api_v1_usage_trend_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/usage/breakdown":{"get":{"tags":["Usage Statistics"],"summary":"Get Usage Breakdown","description":"获取按模型分类的用量","operationId":"get_usage_breakdown_api_v1_usage_breakdown_get","parameters":[{"name":"period","in":"query","required":false,"schema":{"type":"string","default":"month","title":"Period"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notifications":{"get":{"tags":["Notifications"],"summary":"List Notifications","description":"获取当前用户的告警通知列表","operationId":"list_notifications_api_v1_notifications_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_list_"}}}}}}},"/api/v1/notifications/count":{"get":{"tags":["Notifications"],"summary":"Unread Count","description":"获取未读通知数量","operationId":"unread_count_api_v1_notifications_count_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_dict_"}}}}}}},"/api/v1/notifications/mark-read":{"post":{"tags":["Notifications"],"summary":"Mark Notification Read","description":"标记单条通知为已读","operationId":"mark_notification_read_api_v1_notifications_mark_read_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkReadRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_MessageResponse_"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/notifications/mark-all-read":{"post":{"tags":["Notifications"],"summary":"Mark All Notifications Read","description":"标记所有通知为已读","operationId":"mark_all_notifications_read_api_v1_notifications_mark_all_read_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse_dict_"}}}}}}}},"components":{"schemas":{"APIApprovalRequest":{"properties":{"approved":{"type":"boolean","title":"Approved"},"rejection_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rejection Reason"}},"type":"object","required":["approved"],"title":"APIApprovalRequest"},"APIKeyResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"key_value":{"type":"string","title":"Key Value","default":""},"key_prefix":{"type":"string","title":"Key Prefix","default":""},"rate_limit":{"type":"integer","title":"Rate Limit","default":100},"quota":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quota"},"usage":{"type":"integer","title":"Usage","default":0},"status":{"type":"string","title":"Status","default":"active"},"is_system":{"type":"boolean","title":"Is System","default":false},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"}},"type":"object","required":["id","name"],"title":"APIKeyResponse","description":"API Key 响应"},"APIKeyStatsResponse":{"properties":{"api_key_id":{"type":"string","title":"Api Key Id"},"api_key_name":{"type":"string","title":"Api Key Name"},"total_calls":{"type":"integer","title":"Total Calls","default":0},"success_count":{"type":"integer","title":"Success Count","default":0},"error_count":{"type":"integer","title":"Error Count","default":0},"success_rate":{"type":"number","title":"Success Rate","default":0.0},"total_spent_points":{"type":"number","title":"Total Spent Points","default":0},"average_response_time_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Average Response Time Ms"},"period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period"}},"type":"object","required":["api_key_id","api_key_name"],"title":"APIKeyStatsResponse","description":"API Key 调用统计"},"APIKeyUsageResponse":{"properties":{"api_key_id":{"type":"string","title":"Api Key Id"},"api_key_name":{"type":"string","title":"Api Key Name"},"total_calls":{"type":"integer","title":"Total Calls","default":0},"success_count":{"type":"integer","title":"Success Count","default":0},"error_count":{"type":"integer","title":"Error Count","default":0},"success_rate":{"type":"number","title":"Success Rate","default":0.0},"total_spent_points":{"type":"number","title":"Total Spent Points","default":0},"average_response_time_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Average Response Time Ms"},"period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period"}},"type":"object","required":["api_key_id","api_key_name"],"title":"APIKeyUsageResponse","description":"API Key 调用详情"},"APIPricing":{"properties":{"type":{"type":"string","title":"Type","description":"定价类型: token, per_request, per_image"},"currency":{"type":"string","title":"Currency","description":"货币类型","default":"USD"},"input_price_per_1k":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Input Price Per 1K","description":"每 1000 input tokens 价格"},"output_price_per_1k":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Output Price Per 1K","description":"每 1000 output tokens 价格"},"price_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Per Unit","description":"每个单位的价格"},"min_price":{"type":"number","title":"Min Price","description":"最低价格","default":0.01}},"type":"object","required":["type"],"title":"APIPricing"},"APIPricingStrategyResponse":{"properties":{"id":{"type":"string","title":"Id"},"api_id":{"type":"string","title":"Api Id"},"strategy_type_id":{"type":"integer","title":"Strategy Type Id"},"strategy_type_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Strategy Type Code"},"name":{"type":"string","title":"Name"},"config_json":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Config Json"},"is_active":{"type":"boolean","title":"Is Active"},"sort_order":{"type":"integer","title":"Sort Order"}},"type":"object","required":["id","api_id","strategy_type_id","name","is_active","sort_order"],"title":"APIPricingStrategyResponse"},"APIResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"category_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Category Id"},"endpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endpoint"},"method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Method"},"documentation":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Documentation"},"pricing":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Pricing"},"status":{"type":"string","title":"Status"},"is_official":{"type":"boolean","title":"Is Official","default":false},"api_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Type"},"handler_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Handler Name"},"upstream_platform_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upstream Platform Id"},"parameters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Parameters"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"config_json":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Config Json"},"show_detail":{"type":"boolean","title":"Show Detail","default":true},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","name","slug","status"],"title":"APIResponse"},"APIStatsSummaryDTO":{"properties":{"api_id":{"type":"string","title":"Api Id"},"api_name":{"type":"string","title":"Api Name"},"total_calls":{"type":"integer","title":"Total Calls","default":0},"success_count":{"type":"integer","title":"Success Count","default":0},"error_count":{"type":"integer","title":"Error Count","default":0},"success_rate":{"type":"number","title":"Success Rate","default":0.0},"total_spent_points":{"type":"integer","title":"Total Spent Points","default":0}},"type":"object","required":["api_id","api_name"],"title":"APIStatsSummaryDTO","description":"单个 API 的统计摘要"},"AuthMeResponse":{"properties":{"user":{"$ref":"#/components/schemas/UserResponse"}},"type":"object","required":["user"],"title":"AuthMeResponse","description":"当前用户信息响应"},"BalanceResponse":{"properties":{"current_balance":{"type":"number","title":"Current Balance"},"total_earned":{"type":"number","title":"Total Earned"},"total_spent":{"type":"number","title":"Total Spent"},"currency":{"type":"string","title":"Currency"}},"type":"object","required":["current_balance","total_earned","total_spent","currency"],"title":"BalanceResponse"},"BindUpstreamPlatformRequest":{"properties":{"upstream_platform_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upstream Platform Id"}},"type":"object","title":"BindUpstreamPlatformRequest"},"Body_upload_avatar_api_v1_users_me_avatar_patch":{"properties":{"avatar":{"type":"string","contentMediaType":"application/octet-stream","title":"Avatar","description":"头像图片文件"}},"type":"object","required":["avatar"],"title":"Body_upload_avatar_api_v1_users_me_avatar_patch"},"CallLogDetailResponse":{"properties":{"id":{"type":"string","title":"Id"},"request":{"anyOf":[{"$ref":"#/components/schemas/CallRequestDetail"},{"type":"null"}]},"response":{"anyOf":[{"$ref":"#/components/schemas/CallResponseDetail"},{"type":"null"}]},"api_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Id"},"api_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Name"},"api_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Slug"},"api_key_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Key Id"},"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Id"},"task":{"anyOf":[{"$ref":"#/components/schemas/TaskDetail"},{"type":"null"}]},"webhook":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Webhook"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"duration_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Ms"},"points_cost":{"type":"number","title":"Points Cost","default":0},"ip_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ip Address"},"user_agent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Agent"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id"],"title":"CallLogDetailResponse","description":"调用日志详情响应"},"CallLogResponse":{"properties":{"id":{"type":"string","title":"Id"},"user_id":{"type":"string","title":"User Id"},"api_key_id":{"type":"string","title":"Api Key Id"},"request_method":{"type":"string","title":"Request Method"},"request_url":{"type":"string","title":"Request Url"},"response_status":{"type":"integer","title":"Response Status"},"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Id"},"duration_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duration Ms"},"api_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Id"},"api_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Name"},"api_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Slug"},"points_cost":{"type":"number","title":"Points Cost"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"webhook_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Status"},"ip_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ip Address"},"user_agent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Agent"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","user_id","api_key_id","request_method","request_url","response_status","duration_ms","api_id","points_cost","error_message"],"title":"CallLogResponse","description":"调用日志响应"},"CallLogsSummaryResponse":{"properties":{"total_calls":{"type":"integer","title":"Total Calls","default":0},"success_count":{"type":"integer","title":"Success Count","default":0},"error_count":{"type":"integer","title":"Error Count","default":0},"success_rate":{"type":"number","title":"Success Rate","default":0.0},"total_spent_points":{"type":"number","title":"Total Spent Points","default":0},"average_response_time_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Average Response Time Ms"},"period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period"}},"type":"object","title":"CallLogsSummaryResponse","description":"调用日志的统计摘要"},"CallRequestDetail":{"properties":{"method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Method"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"headers":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Headers"},"body":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Body"}},"type":"object","title":"CallRequestDetail"},"CallResponseDetail":{"properties":{"status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Status"},"headers":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Headers"},"body":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Body"}},"type":"object","title":"CallResponseDetail"},"CategoryResponse":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"icon_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon Url"},"sort_order":{"type":"integer","title":"Sort Order","default":0},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","name","slug"],"title":"CategoryResponse"},"CreateAPIKeyRequest":{"properties":{"name":{"type":"string","title":"Name"},"rate_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rate Limit","default":100},"quota":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quota"}},"type":"object","required":["name"],"title":"CreateAPIKeyRequest","description":"创建 API Key 请求"},"CreateAPIRequest":{"properties":{"name":{"type":"string","title":"Name"},"slug":{"type":"string","title":"Slug"},"description":{"type":"string","title":"Description"},"category_id":{"type":"string","title":"Category Id"},"endpoint":{"type":"string","title":"Endpoint"},"method":{"type":"string","title":"Method"},"documentation":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Documentation"},"pricing":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Pricing"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"}},"type":"object","required":["name","slug","description","category_id","endpoint","method"],"title":"CreateAPIRequest","description":"创建 API 请求"},"CreateOrderRequest":{"properties":{"package_id":{"type":"integer","title":"Package Id"},"payment_method":{"type":"string","title":"Payment Method","default":"alipay"}},"type":"object","required":["package_id"],"title":"CreateOrderRequest"},"CreatePaymentRequest":{"properties":{"provider":{"type":"string","title":"Provider","description":"支付渠道: paypal, stripe"},"order_type":{"$ref":"#/components/schemas/OrderType","description":"订单类型: package(积分套餐), plan(订阅计划)"},"item_id":{"type":"string","title":"Item Id","description":"套餐或计划的 ID"},"amount":{"type":"number","title":"Amount","description":"支付金额"},"currency":{"type":"string","title":"Currency","description":"货币代码","default":"USD"},"success_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Success Url","description":"支付成功跳转地址"},"cancel_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cancel Url","description":"支付取消跳转地址"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata","description":"自定义元数据"}},"type":"object","required":["provider","order_type","item_id","amount"],"title":"CreatePaymentRequest","description":"创建支付请求","example":{"amount":50.0,"cancel_url":"https://example.com/cancel","currency":"USD","item_id":"medium","metadata":{"invite_code":"XYZ"},"order_type":"package","provider":"paypal","success_url":"https://example.com/success"}},"CreateUserRequest":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","maxLength":128,"minLength":8,"title":"Password"},"name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Name"},"role":{"type":"string","title":"Role","default":"developer"}},"type":"object","required":["email","password"],"title":"CreateUserRequest"},"CreditUserPointsRequest":{"properties":{"points":{"type":"number","title":"Points"}},"type":"object","required":["points"],"title":"CreditUserPointsRequest"},"DailyUsageStatsResponse":{"properties":{"period_days":{"type":"integer","title":"Period Days"},"statistics":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Statistics"}},"type":"object","required":["period_days","statistics"],"title":"DailyUsageStatsResponse","description":"每日使用统计响应"},"GeoDistributionItem":{"properties":{"country":{"type":"string","title":"Country"},"users":{"type":"integer","title":"Users"},"percentage":{"type":"number","title":"Percentage"}},"type":"object","required":["country","users","percentage"],"title":"GeoDistributionItem","description":"地理分布项"},"GeoDistributionResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/GeoDistributionItem"},"type":"array","title":"Data"}},"type":"object","required":["data"],"title":"GeoDistributionResponse","description":"地理分布响应"},"GrantPointsRequest":{"properties":{"points":{"type":"number","title":"Points"},"reason":{"type":"string","title":"Reason","default":""}},"type":"object","required":["points"],"title":"GrantPointsRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InternalAPIHandlerInfo":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"parameters":{"additionalProperties":true,"type":"object","title":"Parameters"},"example":{"additionalProperties":true,"type":"object","title":"Example"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Name"}},"type":"object","required":["name","description","parameters","example"],"title":"InternalAPIHandlerInfo","description":"内部 API Handler 信息"},"InternalAPIListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/InternalAPIHandlerInfo"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"InternalAPIListResponse","description":"内部 API 列表响应"},"ListResponse_APIKeyResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/APIKeyResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[APIKeyResponse]"},"ListResponse_APIPricingStrategyResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/APIPricingStrategyResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[APIPricingStrategyResponse]"},"ListResponse_APIResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/APIResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[APIResponse]"},"ListResponse_CallLogResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CallLogResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[CallLogResponse]"},"ListResponse_CategoryResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CategoryResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[CategoryResponse]"},"ListResponse_PointOrderResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PointOrderResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[PointOrderResponse]"},"ListResponse_PricingStrategyTypeResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PricingStrategyTypeResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[PricingStrategyTypeResponse]"},"ListResponse_SubscriptionPlanResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SubscriptionPlanResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[SubscriptionPlanResponse]"},"ListResponse_TaskLogItem_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TaskLogItem"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[TaskLogItem]"},"ListResponse_TaskResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TaskResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[TaskResponse]"},"ListResponse_UpstreamPlatformResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UpstreamPlatformResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[UpstreamPlatformResponse]"},"ListResponse_UserResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UserResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[UserResponse]"},"ListResponse_WebhookDeliveryResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/WebhookDeliveryResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[WebhookDeliveryResponse]"},"ListResponse_WebhookResponse_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/WebhookResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[WebhookResponse]"},"LoginRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","title":"Password"},"remember_me":{"type":"boolean","title":"Remember Me","default":false}},"type":"object","required":["email","password"],"title":"LoginRequest"},"LoginResponse":{"properties":{"user":{"$ref":"#/components/schemas/UserResponse"},"token":{"$ref":"#/components/schemas/TokenResponse"}},"type":"object","required":["user","token"],"title":"LoginResponse"},"MarkReadRequest":{"properties":{"notification_id":{"type":"string","title":"Notification Id"}},"type":"object","required":["notification_id"],"title":"MarkReadRequest"},"MessageResponse":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"MessageResponse","description":"通用消息响应"},"OrderType":{"type":"string","enum":["package","plan"],"title":"OrderType","description":"订单类型"},"PaginationMeta":{"properties":{"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"total_pages":{"type":"integer","title":"Total Pages"}},"type":"object","required":["total","page","page_size","total_pages"],"title":"PaginationMeta"},"PaymentStatsResponse":{"properties":{"total_payments":{"type":"integer","title":"Total Payments"},"total_points":{"type":"number","title":"Total Points"},"period_days":{"type":"integer","title":"Period Days"},"recent_transactions":{"items":{"$ref":"#/components/schemas/app__schemas__admin__TransactionResponse"},"type":"array","title":"Recent Transactions"}},"type":"object","required":["total_payments","total_points","period_days","recent_transactions"],"title":"PaymentStatsResponse","description":"支付统计响应"},"PointOrderResponse":{"properties":{"order_id":{"type":"string","title":"Order Id"},"order_no":{"type":"string","title":"Order No"},"package_id":{"type":"integer","title":"Package Id"},"points":{"type":"integer","title":"Points"},"amount":{"type":"number","title":"Amount"},"currency":{"type":"string","title":"Currency"},"payment_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Method"},"payment_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Status"},"paid_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paid At"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["order_id","order_no","package_id","points","amount","currency"],"title":"PointOrderResponse"},"PointsOperationResponse":{"properties":{"user_id":{"type":"string","title":"User Id"},"points":{"type":"number","title":"Points"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["user_id","points"],"title":"PointsOperationResponse","description":"积分操作响应"},"PreferencesUpdateRequest":{"properties":{"theme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Theme"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"},"date_format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Format"},"time_format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time Format"},"notifications":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Notifications"},"alerts":{"anyOf":[{"additionalProperties":{"additionalProperties":{"type":"boolean"},"type":"object"},"type":"object"},{"type":"null"}],"title":"Alerts"}},"type":"object","title":"PreferencesUpdateRequest","description":"更新偏好设置请求"},"PricingStrategyTypeResponse":{"properties":{"id":{"type":"integer","title":"Id"},"code":{"type":"string","title":"Code"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["id","code","name"],"title":"PricingStrategyTypeResponse"},"ProfileUpdateRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"bio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bio"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"github":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Github"},"twitter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Twitter"}},"type":"object","title":"ProfileUpdateRequest","description":"更新用户资料请求"},"PublishInternalAPIRequest":{"properties":{"handler_name":{"type":"string","title":"Handler Name"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"category_id":{"type":"integer","title":"Category Id"},"pricing":{"anyOf":[{"$ref":"#/components/schemas/APIPricing"},{"type":"null"}]},"pricing_type":{"type":"string","title":"Pricing Type"},"price_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Per Unit"}},"type":"object","required":["handler_name","name","description","category_id","pricing_type"],"title":"PublishInternalAPIRequest"},"RegisterRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","maxLength":128,"minLength":8,"title":"Password","description":"Password must be 8-128 characters"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","required":["email","password"],"title":"RegisterRequest"},"RegisterResponse":{"properties":{"user":{"$ref":"#/components/schemas/UserResponse"},"token":{"$ref":"#/components/schemas/TokenResponse"}},"type":"object","required":["user","token"],"title":"RegisterResponse"},"ResetPasswordRequest":{"properties":{"token":{"type":"string","title":"Token","description":"重置令牌"},"new_password":{"type":"string","maxLength":128,"minLength":12,"title":"New Password","description":"新密码"}},"type":"object","required":["token","new_password"],"title":"ResetPasswordRequest","description":"重置密码输入"},"ResponseMeta":{"properties":{"request_id":{"type":"string","title":"Request Id"},"timestamp":{"type":"string","title":"Timestamp"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"ResponseMeta"},"RevenueByCategoryItem":{"properties":{"category":{"type":"string","title":"Category"},"revenue":{"type":"number","title":"Revenue"},"percentage":{"type":"number","title":"Percentage"}},"type":"object","required":["category","revenue","percentage"],"title":"RevenueByCategoryItem","description":"分类收入项"},"RevenueByCategoryResponse":{"properties":{"period_days":{"type":"integer","title":"Period Days"},"data":{"items":{"$ref":"#/components/schemas/RevenueByCategoryItem"},"type":"array","title":"Data"}},"type":"object","required":["period_days","data"],"title":"RevenueByCategoryResponse","description":"分类收入响应"},"SendVerificationRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email","description":"用户邮箱"}},"type":"object","required":["email"],"title":"SendVerificationRequest","description":"发送验证邮件输入"},"StatsSummaryResponse":{"properties":{"total_calls_today":{"type":"integer","title":"Total Calls Today","default":0},"total_errors_today":{"type":"integer","title":"Total Errors Today","default":0},"success_rate_today":{"type":"number","title":"Success Rate Today","default":0.0},"top_apis":{"items":{"$ref":"#/components/schemas/APIStatsSummaryDTO"},"type":"array","title":"Top Apis","default":[]},"total_spent_points_today":{"type":"integer","title":"Total Spent Points Today","default":0},"total_remaining_points":{"type":"integer","title":"Total Remaining Points","default":0}},"type":"object","title":"StatsSummaryResponse","description":"统计摘要响应"},"SubscriptionPlanResponse":{"properties":{"id":{"type":"string","title":"Id"},"plan_code":{"type":"string","title":"Plan Code"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"amount_cents":{"type":"integer","title":"Amount Cents"},"currency":{"type":"string","title":"Currency"},"billing_interval":{"type":"string","title":"Billing Interval"}},"type":"object","required":["id","plan_code","name","amount_cents","currency","billing_interval"],"title":"SubscriptionPlanResponse","description":"订阅计划响应"},"SuccessResponse_APIKeyResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/APIKeyResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[APIKeyResponse]"},"SuccessResponse_APIKeyStatsResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/APIKeyStatsResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[APIKeyStatsResponse]"},"SuccessResponse_APIKeyUsageResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/APIKeyUsageResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[APIKeyUsageResponse]"},"SuccessResponse_APIResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/APIResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[APIResponse]"},"SuccessResponse_AuthMeResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/AuthMeResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[AuthMeResponse]"},"SuccessResponse_BalanceResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/BalanceResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[BalanceResponse]"},"SuccessResponse_CallLogDetailResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/CallLogDetailResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[CallLogDetailResponse]"},"SuccessResponse_CallLogResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/CallLogResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[CallLogResponse]"},"SuccessResponse_CallLogsSummaryResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/CallLogsSummaryResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[CallLogsSummaryResponse]"},"SuccessResponse_DailyUsageStatsResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/DailyUsageStatsResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[DailyUsageStatsResponse]"},"SuccessResponse_GeoDistributionResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/GeoDistributionResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[GeoDistributionResponse]"},"SuccessResponse_InternalAPIListResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/InternalAPIListResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[InternalAPIListResponse]"},"SuccessResponse_ListResponse_APIKeyResponse__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/ListResponse_APIKeyResponse_"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[APIKeyResponse]]"},"SuccessResponse_ListResponse_APIPricingStrategyResponse__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/ListResponse_APIPricingStrategyResponse_"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[APIPricingStrategyResponse]]"},"SuccessResponse_ListResponse_APIResponse__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/ListResponse_APIResponse_"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[APIResponse]]"},"SuccessResponse_ListResponse_CallLogResponse__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/ListResponse_CallLogResponse_"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[CallLogResponse]]"},"SuccessResponse_ListResponse_CategoryResponse__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/ListResponse_CategoryResponse_"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[CategoryResponse]]"},"SuccessResponse_ListResponse_PointOrderResponse__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/ListResponse_PointOrderResponse_"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[PointOrderResponse]]"},"SuccessResponse_ListResponse_PricingStrategyTypeResponse__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/ListResponse_PricingStrategyTypeResponse_"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[PricingStrategyTypeResponse]]"},"SuccessResponse_ListResponse_SubscriptionPlanResponse__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/ListResponse_SubscriptionPlanResponse_"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[SubscriptionPlanResponse]]"},"SuccessResponse_ListResponse_TaskLogItem__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/ListResponse_TaskLogItem_"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[TaskLogItem]]"},"SuccessResponse_ListResponse_TaskResponse__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/ListResponse_TaskResponse_"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[TaskResponse]]"},"SuccessResponse_ListResponse_UpstreamPlatformResponse__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/ListResponse_UpstreamPlatformResponse_"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[UpstreamPlatformResponse]]"},"SuccessResponse_ListResponse_UserResponse__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/ListResponse_UserResponse_"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[UserResponse]]"},"SuccessResponse_ListResponse_WebhookDeliveryResponse__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/ListResponse_WebhookDeliveryResponse_"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[WebhookDeliveryResponse]]"},"SuccessResponse_ListResponse_WebhookResponse__":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/ListResponse_WebhookResponse_"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[WebhookResponse]]"},"SuccessResponse_LoginResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/LoginResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[LoginResponse]"},"SuccessResponse_MessageResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/MessageResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[MessageResponse]"},"SuccessResponse_PaymentStatsResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/PaymentStatsResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[PaymentStatsResponse]"},"SuccessResponse_PointOrderResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/PointOrderResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[PointOrderResponse]"},"SuccessResponse_PointsOperationResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/PointsOperationResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[PointsOperationResponse]"},"SuccessResponse_RegisterResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/RegisterResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[RegisterResponse]"},"SuccessResponse_RevenueByCategoryResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/RevenueByCategoryResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[RevenueByCategoryResponse]"},"SuccessResponse_StatsSummaryResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/StatsSummaryResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[StatsSummaryResponse]"},"SuccessResponse_SubscriptionPlanResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/SubscriptionPlanResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[SubscriptionPlanResponse]"},"SuccessResponse_SystemHealthResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/SystemHealthResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[SystemHealthResponse]"},"SuccessResponse_SystemOverviewResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/SystemOverviewResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[SystemOverviewResponse]"},"SuccessResponse_TaskResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/TaskResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[TaskResponse]"},"SuccessResponse_TokenResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/TokenResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[TokenResponse]"},"SuccessResponse_TopProvidersResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/TopProvidersResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[TopProvidersResponse]"},"SuccessResponse_TransactionResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__admin__TransactionResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[TransactionResponse]"},"SuccessResponse_TrendResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/TrendResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[TrendResponse]"},"SuccessResponse_UpstreamPlatformResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/UpstreamPlatformResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[UpstreamPlatformResponse]"},"SuccessResponse_UsageStatsResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/UsageStatsResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[UsageStatsResponse]"},"SuccessResponse_UserResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/UserResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[UserResponse]"},"SuccessResponse_UserStatsResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/UserStatsResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[UserStatsResponse]"},"SuccessResponse_WebhookDeliveryResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/WebhookDeliveryResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[WebhookDeliveryResponse]"},"SuccessResponse_WebhookDetailResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/WebhookDetailResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[WebhookDetailResponse]"},"SuccessResponse_WebhookResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/WebhookResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[WebhookResponse]"},"SuccessResponse_WebhookStatsResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/WebhookStatsResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[WebhookStatsResponse]"},"SuccessResponse_WebhookTestResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/WebhookTestResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[WebhookTestResponse]"},"SuccessResponse_dict_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data"},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[dict]"},"SuccessResponse_list_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Data"},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[list]"},"SystemHealthResponse":{"properties":{"database":{"additionalProperties":true,"type":"object","title":"Database"},"redis":{"additionalProperties":true,"type":"object","title":"Redis"},"api_gateway":{"additionalProperties":true,"type":"object","title":"Api Gateway"},"timestamp":{"type":"string","title":"Timestamp"}},"type":"object","required":["database","redis","api_gateway","timestamp"],"title":"SystemHealthResponse","description":"系统健康状态响应"},"SystemOverviewResponse":{"properties":{"users":{"additionalProperties":true,"type":"object","title":"Users"},"apis":{"additionalProperties":true,"type":"object","title":"Apis"},"usage":{"additionalProperties":true,"type":"object","title":"Usage"},"timestamp":{"type":"string","title":"Timestamp"}},"type":"object","required":["users","apis","usage","timestamp"],"title":"SystemOverviewResponse","description":"系统概览响应"},"TaskDetail":{"properties":{"id":{"type":"string","title":"Id"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"input":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Input"},"output":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Output"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["id"],"title":"TaskDetail"},"TaskLogItem":{"properties":{"timestamp":{"type":"string","title":"Timestamp"},"level":{"type":"string","title":"Level"},"message":{"type":"string","title":"Message"},"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Details"}},"type":"object","required":["timestamp","level","message"],"title":"TaskLogItem","description":"任务日志条目"},"TaskRequest":{"properties":{"slug_id":{"type":"string","title":"Slug Id"},"input":{"additionalProperties":true,"type":"object","title":"Input"}},"type":"object","required":["slug_id","input"],"title":"TaskRequest","description":"创建任务请求"},"TaskResponse":{"properties":{"id":{"type":"string","title":"Id"},"task_id":{"type":"string","title":"Task Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"progress":{"type":"integer","title":"Progress","default":0},"total_items":{"type":"integer","title":"Total Items","default":0},"completed_items":{"type":"integer","title":"Completed Items","default":0},"failed_items":{"type":"integer","title":"Failed Items","default":0},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"output":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"},{"type":"null"}],"title":"Output"},"api_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api Slug"},"priority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Priority"},"prediction_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prediction Id"},"retry_count":{"type":"integer","title":"Retry Count","default":0},"max_retries":{"type":"integer","title":"Max Retries","default":3},"logs":{"anyOf":[{"items":{"$ref":"#/components/schemas/TaskLogItem"},"type":"array"},{"type":"null"}],"title":"Logs"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["id","task_id","name","output"],"title":"TaskResponse","description":"任务响应 - 字段与 AsyncTask 一致"},"TaskStatus":{"type":"string","enum":["pending","queued","starting","processing","succeeded","failed","cancelled","timeout"],"title":"TaskStatus"},"TokenResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"refresh_token":{"type":"string","title":"Refresh Token"},"token_type":{"type":"string","title":"Token Type","default":"bearer"},"expires_in":{"type":"integer","title":"Expires In","default":900}},"type":"object","required":["access_token","refresh_token"],"title":"TokenResponse","description":"令牌响应"},"TopProviderItem":{"properties":{"name":{"type":"string","title":"Name"},"revenue":{"type":"number","title":"Revenue"},"apis":{"type":"integer","title":"Apis"},"users":{"type":"integer","title":"Users"}},"type":"object","required":["name","revenue","apis","users"],"title":"TopProviderItem","description":"Top 提供商项"},"TopProvidersResponse":{"properties":{"data":{"items":{"$ref":"#/components/schemas/TopProviderItem"},"type":"array","title":"Data"}},"type":"object","required":["data"],"title":"TopProvidersResponse","description":"Top 提供商响应"},"TrendDataPointDTO":{"properties":{"timestamp":{"type":"string","title":"Timestamp"},"value":{"type":"integer","title":"Value"},"error_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Error Count","default":0}},"type":"object","required":["timestamp","value"],"title":"TrendDataPointDTO","description":"趋势数据点"},"TrendResponse":{"properties":{"period":{"type":"string","title":"Period"},"data_points":{"items":{"$ref":"#/components/schemas/TrendDataPointDTO"},"type":"array","title":"Data Points"},"peak_value":{"type":"integer","title":"Peak Value","default":0},"average_value":{"type":"number","title":"Average Value","default":0.0}},"type":"object","required":["period","data_points"],"title":"TrendResponse","description":"趋势响应"},"UpdateAPIKeyRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"rate_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rate Limit"},"quota":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quota"}},"type":"object","title":"UpdateAPIKeyRequest","description":"更新 API Key 请求"},"UpdateUserRoleRequest":{"properties":{"role":{"type":"string","title":"Role"},"add_roles":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Add Roles"}},"type":"object","required":["role"],"title":"UpdateUserRoleRequest"},"UpdateUserStatusRequest":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"UpdateUserStatusRequest"},"UpstreamPlatformCreateRequest":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name"},"code":{"type":"string","maxLength":50,"minLength":1,"pattern":"^[a-z0-9-]+$","title":"Code"},"platform_type":{"type":"string","maxLength":50,"minLength":1,"title":"Platform Type"},"base_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Base Url"},"webhook_path":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Webhook Path"},"webhook_secret":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Webhook Secret"},"callback_enabled":{"type":"boolean","title":"Callback Enabled","default":false},"polling_enabled":{"type":"boolean","title":"Polling Enabled","default":true},"callback_grace_seconds":{"type":"integer","maximum":86400.0,"minimum":0.0,"title":"Callback Grace Seconds","default":120},"status":{"type":"string","pattern":"^(active|inactive)$","title":"Status","default":"active"},"config_json":{"additionalProperties":true,"type":"object","title":"Config Json"}},"type":"object","required":["name","code","platform_type"],"title":"UpstreamPlatformCreateRequest"},"UpstreamPlatformResponse":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name"},"code":{"type":"string","maxLength":50,"minLength":1,"pattern":"^[a-z0-9-]+$","title":"Code"},"platform_type":{"type":"string","maxLength":50,"minLength":1,"title":"Platform Type"},"base_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Base Url"},"webhook_path":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Webhook Path"},"webhook_secret":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Webhook Secret"},"callback_enabled":{"type":"boolean","title":"Callback Enabled","default":false},"polling_enabled":{"type":"boolean","title":"Polling Enabled","default":true},"callback_grace_seconds":{"type":"integer","maximum":86400.0,"minimum":0.0,"title":"Callback Grace Seconds","default":120},"status":{"type":"string","pattern":"^(active|inactive)$","title":"Status","default":"active"},"config_json":{"additionalProperties":true,"type":"object","title":"Config Json"},"id":{"type":"string","title":"Id"},"callback_config":{"additionalProperties":true,"type":"object","title":"Callback Config"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["name","code","platform_type","id"],"title":"UpstreamPlatformResponse"},"UpstreamPlatformUpdateRequest":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Name"},"platform_type":{"anyOf":[{"type":"string","maxLength":50,"minLength":1},{"type":"null"}],"title":"Platform Type"},"base_url":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Base Url"},"webhook_path":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Webhook Path"},"webhook_secret":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Webhook Secret"},"callback_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Callback Enabled"},"polling_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Polling Enabled"},"callback_grace_seconds":{"anyOf":[{"type":"integer","maximum":86400.0,"minimum":0.0},{"type":"null"}],"title":"Callback Grace Seconds"},"status":{"anyOf":[{"type":"string","pattern":"^(active|inactive)$"},{"type":"null"}],"title":"Status"},"config_json":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Config Json"}},"type":"object","title":"UpstreamPlatformUpdateRequest"},"UsageStatsResponse":{"properties":{"period_days":{"type":"integer","title":"Period Days"},"summary":{"$ref":"#/components/schemas/UsageSummaryResponse"},"daily":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Daily"},"by_api":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"By Api"}},"type":"object","required":["period_days","summary","daily","by_api"],"title":"UsageStatsResponse"},"UsageSummaryResponse":{"properties":{"total_calls":{"type":"integer","title":"Total Calls","default":0},"success_calls":{"type":"integer","title":"Success Calls","default":0},"error_calls":{"type":"integer","title":"Error Calls","default":0},"total_points":{"type":"number","title":"Total Points","default":0},"avg_duration_ms":{"type":"number","title":"Avg Duration Ms","default":0}},"type":"object","title":"UsageSummaryResponse"},"UserResponse":{"properties":{"email":{"type":"string","title":"Email"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"id":{"type":"string","title":"Id"},"status":{"type":"string","title":"Status"},"role":{"type":"string","title":"Role"},"roles":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Roles"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"points":{"anyOf":[{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"},{"type":"null"}],"title":"Points"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"preferences":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Preferences"},"profiles":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Profiles"}},"type":"object","required":["email","id","status","role"],"title":"UserResponse"},"UserStatsResponse":{"properties":{"total_calls":{"type":"integer","title":"Total Calls","default":0},"total_errors":{"type":"integer","title":"Total Errors","default":0},"success_rate":{"type":"number","title":"Success Rate","default":0.0},"total_spent_points":{"type":"integer","title":"Total Spent Points","default":0},"average_response_time_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Average Response Time Ms"},"period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period"}},"type":"object","title":"UserStatsResponse","description":"用户统计信息响应"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VerifyEmailRequest":{"properties":{"token":{"type":"string","title":"Token","description":"验证令牌"}},"type":"object","required":["token"],"title":"VerifyEmailRequest","description":"验证邮箱输入"},"WebhookCreateRequest":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name","description":"订阅名称"},"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url","description":"回调地址"},"events":{"items":{"$ref":"#/components/schemas/WebhookEventType"},"type":"array","title":"Events","description":"订阅的事件类型列表"},"secret":{"anyOf":[{"type":"string","maxLength":256,"minLength":16},{"type":"null"}],"title":"Secret","description":"签名密钥，不提供则自动生成"},"verify_ssl":{"type":"boolean","title":"Verify Ssl","description":"是否验证 SSL 证书","default":true},"custom_headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Custom Headers","description":"自定义请求头"}},"type":"object","required":["name","url","events"],"title":"WebhookCreateRequest","description":"创建 Webhook 订阅请求","example":{"events":["task.completed","task.failed"],"name":"My Task Webhook","url":"https://example.com/webhook","verify_ssl":true}},"WebhookDeliveryResponse":{"properties":{"id":{"type":"string","title":"Id"},"subscription_id":{"type":"string","title":"Subscription Id"},"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Id"},"event_type":{"type":"string","title":"Event Type"},"status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Status"},"success":{"type":"boolean","title":"Success"},"attempts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Attempts","default":0},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","subscription_id","task_id","event_type","success","created_at"],"title":"WebhookDeliveryResponse","description":"Webhook 投递记录响应"},"WebhookDetailResponse":{"properties":{"id":{"type":"string","title":"Id"},"user_id":{"type":"string","title":"User Id"},"name":{"type":"string","title":"Name"},"url":{"type":"string","title":"Url"},"events":{"items":{"type":"string"},"type":"array","title":"Events"},"is_active":{"type":"boolean","title":"Is Active"},"total_sent":{"type":"integer","title":"Total Sent"},"failed_count":{"type":"integer","title":"Failed Count"},"last_sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Sent At"},"last_failed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Failed At"},"verify_ssl":{"type":"boolean","title":"Verify Ssl"},"custom_headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Custom Headers"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"secret":{"type":"string","title":"Secret"}},"type":"object","required":["id","user_id","name","url","events","is_active","total_sent","failed_count","last_sent_at","last_failed_at","verify_ssl","custom_headers","created_at","updated_at","secret"],"title":"WebhookDetailResponse","description":"Webhook 订阅详情响应（含密钥）"},"WebhookEventType":{"type":"string","enum":["task.created","task.started","task.completed","task.failed","task.cancelled","payment.succeeded","payment.failed","api.called","api.error","user.registered","api.submitted","api.approved","api.rejected"],"title":"WebhookEventType","description":"Webhook 事件类型"},"WebhookResponse":{"properties":{"id":{"type":"string","title":"Id"},"user_id":{"type":"string","title":"User Id"},"name":{"type":"string","title":"Name"},"url":{"type":"string","title":"Url"},"events":{"items":{"type":"string"},"type":"array","title":"Events"},"is_active":{"type":"boolean","title":"Is Active"},"total_sent":{"type":"integer","title":"Total Sent"},"failed_count":{"type":"integer","title":"Failed Count"},"last_sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Sent At"},"last_failed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Failed At"},"verify_ssl":{"type":"boolean","title":"Verify Ssl"},"custom_headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Custom Headers"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","user_id","name","url","events","is_active","total_sent","failed_count","last_sent_at","last_failed_at","verify_ssl","custom_headers","created_at","updated_at"],"title":"WebhookResponse","description":"Webhook 订阅响应"},"WebhookStatsResponse":{"properties":{"subscription_id":{"type":"string","title":"Subscription Id"},"period_days":{"type":"integer","title":"Period Days"},"total_deliveries":{"type":"integer","title":"Total Deliveries"},"success_count":{"type":"integer","title":"Success Count"},"failed_count":{"type":"integer","title":"Failed Count"},"success_rate":{"type":"number","title":"Success Rate"},"daily_breakdown":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Daily Breakdown"}},"type":"object","required":["subscription_id","period_days","total_deliveries","success_count","failed_count","success_rate","daily_breakdown"],"title":"WebhookStatsResponse","description":"Webhook 统计响应"},"WebhookTestRequest":{"properties":{"test_event":{"$ref":"#/components/schemas/WebhookEventType","default":"task.completed"},"test_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Test Data"}},"type":"object","title":"WebhookTestRequest","description":"测试 Webhook 请求"},"WebhookTestResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"response_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Response Status"},"response_body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response Body"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"}},"type":"object","required":["success","response_status","response_body","error_message"],"title":"WebhookTestResponse","description":"测试 Webhook 响应"},"WebhookUpdateRequest":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Name"},"url":{"anyOf":[{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Url"},"events":{"anyOf":[{"items":{"$ref":"#/components/schemas/WebhookEventType"},"type":"array"},{"type":"null"}],"title":"Events"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"verify_ssl":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Verify Ssl"},"custom_headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Custom Headers"}},"type":"object","title":"WebhookUpdateRequest","description":"更新 Webhook 订阅请求"},"app__applications__routers__v1__payments__PointPackageResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"points":{"type":"integer","title":"Points"},"price":{"type":"number","title":"Price"},"bonus":{"type":"integer","title":"Bonus"},"currency":{"type":"string","title":"Currency","default":"USD"},"is_recommended":{"type":"boolean","title":"Is Recommended","default":false},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["id","name","points","price","bonus"],"title":"PointPackageResponse","description":"积分套餐响应"},"app__schemas__admin__AuditLogResponse":{"properties":{"id":{"type":"string","title":"Id"},"action":{"type":"string","title":"Action"},"category":{"type":"string","title":"Category"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"user_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Email"},"resource_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource Type"},"resource_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource Id"},"status":{"type":"string","title":"Status"},"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Details"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","action","category","status","created_at"],"title":"AuditLogResponse","description":"审计日志响应"},"app__schemas__admin__TransactionResponse":{"properties":{"id":{"type":"string","title":"Id"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"type":{"type":"string","title":"Type"},"points":{"type":"number","title":"Points"},"description":{"type":"string","title":"Description"},"reference_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","type","points","description","created_at"],"title":"TransactionResponse","description":"交易/支付响应"},"app__schemas__audit_logs__AuditLogResponse":{"properties":{"id":{"type":"string","title":"Id"},"action":{"type":"string","title":"Action"},"category":{"type":"string","title":"Category"},"resource_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource Type"},"resource_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource Id"},"status":{"type":"string","title":"Status","default":""},"ip_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ip Address"},"user_agent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Agent"},"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Details"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","action","category"],"title":"AuditLogResponse","description":"审计日志响应"},"app__schemas__billing__PointPackageResponse":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"points":{"type":"integer","title":"Points"},"price":{"type":"number","title":"Price"},"currency":{"type":"string","title":"Currency"},"validity_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Validity Days"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"type":"object","required":["id","name","points","price","currency"],"title":"PointPackageResponse"},"app__schemas__billing__TransactionResponse":{"properties":{"id":{"type":"string","title":"Id"},"type":{"type":"string","title":"Type"},"points":{"type":"number","title":"Points"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"reference_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Id"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","type","points"],"title":"TransactionResponse"},"app__schemas__common__ListResponse_AuditLogResponse___1":{"properties":{"items":{"items":{"$ref":"#/components/schemas/app__schemas__admin__AuditLogResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[AuditLogResponse]"},"app__schemas__common__ListResponse_AuditLogResponse___2":{"properties":{"items":{"items":{"$ref":"#/components/schemas/app__schemas__audit_logs__AuditLogResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[AuditLogResponse]"},"app__schemas__common__ListResponse_PointPackageResponse___1":{"properties":{"items":{"items":{"$ref":"#/components/schemas/app__applications__routers__v1__payments__PointPackageResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[PointPackageResponse]"},"app__schemas__common__ListResponse_PointPackageResponse___2":{"properties":{"items":{"items":{"$ref":"#/components/schemas/app__schemas__billing__PointPackageResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[PointPackageResponse]"},"app__schemas__common__ListResponse_TransactionResponse___1":{"properties":{"items":{"items":{"$ref":"#/components/schemas/app__schemas__admin__TransactionResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[TransactionResponse]"},"app__schemas__common__ListResponse_TransactionResponse___2":{"properties":{"items":{"items":{"$ref":"#/components/schemas/app__schemas__billing__TransactionResponse"},"type":"array","title":"Items"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationMeta"},{"type":"null"}]}},"type":"object","required":["items"],"title":"ListResponse[TransactionResponse]"},"app__schemas__common__SuccessResponse_AuditLogResponse___1":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__admin__AuditLogResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[AuditLogResponse]"},"app__schemas__common__SuccessResponse_AuditLogResponse___2":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__audit_logs__AuditLogResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[AuditLogResponse]"},"app__schemas__common__SuccessResponse_ListResponse_AuditLogResponse____1":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__common__ListResponse_AuditLogResponse___1"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[AuditLogResponse]]"},"app__schemas__common__SuccessResponse_ListResponse_AuditLogResponse____2":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__common__ListResponse_AuditLogResponse___2"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[AuditLogResponse]]"},"app__schemas__common__SuccessResponse_ListResponse_PointPackageResponse____1":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__common__ListResponse_PointPackageResponse___1"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[PointPackageResponse]]"},"app__schemas__common__SuccessResponse_ListResponse_PointPackageResponse____2":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__common__ListResponse_PointPackageResponse___2"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[PointPackageResponse]]"},"app__schemas__common__SuccessResponse_ListResponse_TransactionResponse____1":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__common__ListResponse_TransactionResponse___1"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[TransactionResponse]]"},"app__schemas__common__SuccessResponse_ListResponse_TransactionResponse____2":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__common__ListResponse_TransactionResponse___2"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[ListResponse[TransactionResponse]]"},"app__schemas__common__SuccessResponse_PointPackageResponse___1":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/app__applications__routers__v1__payments__PointPackageResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[PointPackageResponse]"},"app__schemas__common__SuccessResponse_PointPackageResponse___2":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"data":{"anyOf":[{"$ref":"#/components/schemas/app__schemas__billing__PointPackageResponse"},{"type":"null"}]},"meta":{"$ref":"#/components/schemas/ResponseMeta"}},"type":"object","title":"SuccessResponse[PointPackageResponse]"}}}}