OhMyGPT
Account

Get current user

GET
/v1/me

Returns the authenticated user's account ID, current requests-per-minute limit, and the recharge tier that raises it.

授权

ApiKeyAuth
headerAuthorization<token>

响应主体

Current user information.

application/json
  1. response
next_recharge_band?string
next_recharge_rpm?integer
next_recharge_threshold_cny?integer
格式int64
recharge_band?string
recharge_tiers?array<>

All recharge tiers, lowest threshold first. A tier applies once recharge_total_cny reaches its threshold_cny.

recharge_total_cny?integer

The caller's successful cumulative recharge in CNY, rounded down.

格式int64
rpm*integer
rpm_overridden?boolean

True when the RPM is set individually for this account, so recharging does not change it.

user_id*integer
格式int64
示例请求
curl -X GET 'https://api.ohmygpt.com/v1/me'
示例响应
{  "next_recharge_band": "string",  "next_recharge_rpm": 0,  "next_recharge_threshold_cny": 0,  "recharge_band": "string",  "recharge_tiers": [    {      "band": "string",      "rpm": 0,      "threshold_cny": 0    }  ],  "recharge_total_cny": 0,  "rpm": 0,  "rpm_overridden": true,  "user_id": 0}