OhMyGPT API
English
  • 中文
  • English
  • 日本語
OhMyGPT
OhMyGPT
English
  • 中文
  • English
  • 日本語
  1. Override rules
  • Introduction to this site
  • Change log
  • OpenAI
    • Responses
      • Create model response
      • Get model response
      • Delete model response
      • Cancel response
      • List input items
    • Conversations
      • create conversation
      • Retrieve conversation
      • update conversation
      • delete conversation
      • Create items
      • list items
      • Retrieve item
      • Delete item
    • create completion
      POST
    • TTS text to speech
      POST
    • Embeddings
      POST
    • image generation
      POST
    • image editing
      POST
  • Store
    • List chat completions
      POST
    • Get chat completed
      POST
    • Deletion of chat completed
      POST
  • Claude
    • Anthropic native Completions enterprise commercial API
      POST
    • Anthropic native Messages API
      POST
    • Anthropic native Messages Token Count API
      POST
  • OAuth开放API
    • Introduction to Open OAuth API
    • User authorization page
    • Code display page
    • Apply for access_token
    • Read basic user information
    • Read user balance information
    • Charge user fees
    • Create a Stripe Checkout recharge order for the user
    • Create a Stripe Invoice recharge order for the user
    • Call other open APIs
    • Read user management token through OAuth Token
    • Update user management token through OAuth Token
  • other
    • search
      • Google Custom Search API
      • Google Search By Serper
    • Azure
      • Azure text-to-speech
      • Azure gets TTS voice list
  • Override rules
    • Create rules
      POST
    • Update rules
      POST
    • delete rule
      POST
    • Get rules
      POST
    • list rules
      POST
    • Batch enable/disable
      POST
    • Copy rules
      POST
    • test rules
      POST
    • Get statistics
      POST
    • Get restriction configuration
      POST
    • Check rule name
      POST
    • Batch delete
      POST
    • Export rules
      POST
    • Import rules
      POST
  • image generation
    • other
      • ND image generation API
    • Flux
      • Flux Schnell image generation
      • Flux Dev image generation
      • Flux Pro image generation
      • Flux Pro 1.1 image generation
      • Flux 1.1 Pro Ultura image generation
  • Storage service
    • File storage service
    • File upload
    • File information update
    • Delete files
    • User query (pagination)
    • User metadata query (by fileUinqueIds)
    • File download interface (Public file download)
    • File download interface (Private private file download)
    • Obtain public file metadata
  • API KEY management
    • Create new API Key
    • Modify API Key information
    • Query all API Keys of the user
    • Delete the specified API Key
    • Interface for querying user membership expiration date
    • User balance query interface
    • Query the current model magnification interface
  • Archive documents
    • Self-service invoicing system usage documentation
    • Telegram Bot usage documentation
    • Self-built Cloudflare Worker anti-generation tutorial
    • Claude Code forwarding service
    • CodeX forwarding service
    • Introduction to the new website
  • Model list
    GET
  1. Override rules

Get statistics

line1
https://cn2us02.opapi.win
line1
https://cn2us02.opapi.win
POST
/api/v1/user/parameter-override/get-stats
Returns statistics such as the number of rules, the number of activations, and the number of applications.

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************

返回响应

🟢200success
*/*
OK
Body

请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://cn2us02.opapi.win/api/v1/user/parameter-override/get-stats' \
--header 'Authorization: Bearer <token>'
响应示例响应示例
{
    "totalRules": 0,
    "enabledRules": 0,
    "totalApplications": 0,
    "avgPriority": 0,
    "mostUsedRule": {
        "ruleName": "string",
        "ruleId": "string",
        "applyCount": 0
    }
}
修改于 2025-10-15 08:07:30
上一页
test rules
下一页
Get restriction configuration
Built with