Account
Get current user
GET
Returns the authenticated user's account ID, current requests-per-minute limit, and the recharge tier that raises it.
ApiKeyAuthheader
Authorization<token>Current user information.
application/json- response
next_recharge_band?stringnext_recharge_rpm?integernext_recharge_threshold_cny?integerFormat
int64recharge_band?stringrecharge_tiers?array<>All recharge tiers, lowest threshold first. A tier applies once recharge_total_cny reaches its threshold_cny.
recharge_total_cny?integerThe caller's successful cumulative recharge in CNY, rounded down.
Format
int64rpm*integerrpm_overridden?booleanTrue when the RPM is set individually for this account, so recharging does not change it.
user_id*integerFormat
int64curl -X GET 'https://api.ohmygpt.com/v1/me'Example Response
{ "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}