{"uid":"cap_UA7zDHolCP_OudYtnhm5s","slug":"httpay-xyz-api-gateway-hugging-face-hub-api-patch-4c5ad644","name":"httpay.xyz API Gateway: Hugging Face Hub API (PATCH)","description":"API Gateway: Hugging Face Hub API","url":"https://httpay.xyz/api/gateway/huggingface/%7B*path%7D","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Q1xOuM2A64gkZz8x8HiiA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Proxies PATCH requests to the Hugging Face Hub API through a pay-per-call x402 payment gateway","exampleAgentPrompt":"Update the description metadata on my Hugging Face model repository 'my-org/my-bert-model' by patching its card data to add a new language tag for French.","exampleUseCases":null,"resultDescription":"Returns the Hugging Face Hub API's response to the PATCH operation — typically a JSON object confirming the updated resource state, modified fields, or repository metadata reflecting the applied changes.","failureModes":["Payment not included or invalid x402 token — gateway rejects with 402 Payment Required","Invalid or non-existent Hugging Face path — upstream returns 404 Not Found","Insufficient permissions for the target Hugging Face resource — upstream returns 403 Forbidden","Malformed request body — upstream returns 400 Bad Request","Hugging Face Hub API rate limit exceeded — upstream returns 429 Too Many Requests","Gateway timeout if Hugging Face upstream is slow or unavailable"],"whenToPreferThis":"Use this endpoint when an AI agent needs to make PATCH requests to the Hugging Face Hub API without holding a long-lived API key, paying per-call in USDC via x402 micropayments. Ideal for automated MLOps workflows that occasionally update model repos, dataset cards, or space configurations on Hugging Face Hub.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:30:22.319Z","isFirstParty":false}