Gatewayz Universal Inference API
  1. admin
Gatewayz Universal Inference API
  • models
    • Get All Models
    • Get Specific Model Api
    • Get Developer Models Api
    • Search Models
  • authentication
    • Root
    • Privy Auth
    • Register User
    • Request Password Reset
    • Reset Password
    • Get User Balance
    • User Monitor
    • User Get Rate Limits
    • Get User Profile Endpoint
    • Update User Profile Endpoint
    • Delete User Account Endpoint
    • Get Credit Transactions Endpoint
    • List User Api Keys
    • Create User Api Key
    • Update User Api Key Endpoint
    • Delete User Api Key
    • Get User Api Key Usage
    • Create Api Key
    • Get User Audit Logs
    • Get User Plan Endpoint
    • Get User Plan Usage
    • Get User Plan Entitlements
    • Get User Environment Usage
    • Get User Rate Limits Advanced
    • Update User Rate Limits Advanced
    • Bulk Update User Rate Limits
    • Get Api Key Rate Limit Usage
  • admin
    • Admin Add Credits
      POST
    • Admin Get All Balances
      GET
    • Admin Monitor
      GET
    • Admin Set Rate Limit
      POST
    • Admin Refresh Providers
      POST
    • Admin Cache Status
      GET
    • Admin Huggingface Cache Status
      GET
    • Admin Refresh Huggingface Cache
      POST
    • Admin Test Huggingface
      GET
    • Admin Debug Models
      GET
    • Admin Clear Rate Limit Cache
      POST
    • Get Trial Analytics Admin
      GET
    • Get All Users Info
      GET
    • Get User Info By Id
      GET
    • Get Notification Stats
      GET
    • Process Notifications
      POST
    • Assign Plan To User
      POST
    • Get System Rate Limits
      GET
    • Get Rate Limit Alerts Endpoint
      GET
    • Create Coupon Endpoint
      POST
    • List Coupons Endpoint
      GET
    • Get Coupon Endpoint
      GET
    • Update Coupon Endpoint
      PATCH
    • Deactivate Coupon Endpoint
      DELETE
    • Get Coupon Analytics Endpoint
      GET
    • Get Coupon Stats Endpoint
      GET
    • Update Role
      POST
    • Get User Role Info
      GET
    • Get Audit Log
      GET
    • List Users By Role
      GET
    • Get Role Permissions Endpoint
      GET
  • plans
    • Get Plans
    • Get Plan
  • notifications
    • Get Notification Preferences
    • Update Notification Preferences
    • Test Notification
    • Send Usage Report
  • trial
    • Get Trial Status
  • subscription
    • Get Subscription Plans
  • providers
    • Get Providers
  • debug
    • Test Provider Matching
    • Test Refresh Providers
    • Test Openrouter Providers
  • Stripe Payments
    • Stripe Webhook
    • Create Checkout Session
    • Get Checkout Session
    • Create Payment Intent
    • Get Payment Intent
    • Get Credit Packages
    • Create Refund
    • Get Payment History
    • Get Payment Details
  • chat
    • Chat Completions
    • Unified Responses
    • Anthropic Messages
  • chat-history
    • Create Session
    • Get Sessions
    • Get Session
    • Update Session
    • Delete Session
    • Get Stats
    • Search Sessions
    • Save Message
  • ranking
    • Get Ranking Models
    • Get Ranking Apps
  • Activity
    • Get Activity Stats
    • Get Activity Log
  • coupons
    • Redeem Coupon Endpoint
    • Get Available Coupons
    • Get Redemption History
  • Analytics
    • Get Transaction Analytics
    • Get Transaction Summary
  • statistics
    • Get Provider Statistics
    • Get Gateway Statistics
    • Get All Gateways Summary Endpoint
    • Get Provider Top Models Endpoint
    • Get Trending Models Api
  • comparison
    • Batch Compare Models Api
    • Compare Model Gateways Api
  • referral
    • Get My Referral Stats
    • Validate Referral
    • Generate My Referral Code
    • Get My Referral Code
  • cache
    • Get Cache Status
    • Refresh Gateway Cache
    • Clear All Caches
    • Get Modelz Cache Status
    • Refresh Modelz Cache Endpoint
    • Clear Modelz Cache Endpoint
  • health
    • Check All Gateways
    • Check Single Gateway
  • images
    • Generate Images
  • analytics
    • Log Event
    • Log Batch Events
  • Health Check
    GET
  • Ping
    GET
  • Ping Stats
    GET
  • Get Modelz Models
    GET
  • Get Modelz Model Ids Endpoint
    GET
  • Check Model On Modelz
    GET
  • Schemas
    • Schemas
      • AddCreditsRequest
      • AnthropicMessage
      • AnalyticsEvent
      • AssignPlanRequest
      • AuthMethod
      • CreateApiKeyRequest
      • AvailableCouponResponse
      • ChatMessage
      • ChatSession
      • DeleteAccountRequest
      • ChatSessionResponse
      • DeleteAccountResponse
      • DeleteApiKeyRequest
      • ChatSessionStatsResponse
      • HTTPValidationError
      • ChatSessionsListResponse
      • NotificationPreferences
      • NotificationStats
      • NotificationType
      • CouponAnalyticsResponse
      • PlanEntitlementsResponse
      • CreateChatSessionRequest
      • ContentBlock
      • PlanResponse
      • CouponResponse
      • CreateCheckoutSessionRequest
      • CouponScope
      • PlanUsageResponse
      • CreatePaymentIntentRequest
      • CouponStatsResponse
      • CreateRefundRequest
      • CouponType
      • PrivyAuthRequest
      • PrivyAuthResponse
      • PrivyLinkedAccount
      • UpdateApiKeyRequest
      • PrivyUserData
      • Message
      • UserPlanResponse
      • CreateCouponRequest
      • UpdateNotificationPreferencesRequest
      • UserProfileResponse
      • UserProfileUpdate
      • ValidationError
      • InputMessage
      • ListCouponsResponse
      • ImageData
      • ImageGenerationRequest
      • ProxyRequest
      • MessagesRequest
      • ImageGenerationResponse
      • RateLimitConfig
      • SearchChatSessionsRequest
      • SetRateLimitRequest
      • StripeCurrency
      • StripePaymentMethodType
      • SubscriptionStatus
      • UpdateChatSessionRequest
      • RedeemCouponRequest
      • RedemptionHistoryItem
      • UserRegistrationRequest
      • RedemptionHistoryResponse
      • RedemptionResponse
      • UserRegistrationResponse
      • ResponseFormat
      • ResponseFormatType
      • ResponseRequest
      • RoleAuditLogResponse
      • ReferralStatsResponse
      • RoleResponse
      • SaveChatMessageRequest
      • UpdateCouponRequest
      • UpdateRoleRequest
      • ValidateReferralRequest
      • ValidateReferralResponse
  1. admin

Admin Refresh Huggingface Cache

POST
/admin/refresh-huggingface-cache
Clear Hugging Face cache to force refresh on the next request

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or

Responses

🟢200OK
application/json
Successful Response
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/admin/refresh-huggingface-cache' \
--header 'Authorization: Bearer <token>'
Response Response Example
null
Modified at 2025-10-27 16:08:17
Previous
Admin Huggingface Cache Status
Next
Admin Test Huggingface
Built with