用量查询

查询 API Key 的剩余额度与使用情况。

请求

POST /api/v1/usage

参数类型必填说明
api_keystring要查询的 API 密钥
curl -X POST https://www.docparse4ai.com/api/v1/usage \
  -F "api_key=sk-dev"

响应

{
  "code": 0,
  "message": "",
  "data": {
    "remaining_paid_pages": 0,
    "remaining_free_pages_today": 500,
    "remaining_free_pages_this_month": 2000,
    "dashboard_url": "https://www.docparse4ai.com/console/dashboard"
  }
}