V1 Usage

Anthropic-compatible quota check endpoint.

Auth: header x-api-key: <key> HOẶC Authorization: Bearer <key>.

Khách dùng SDK chuẩn (Anthropic SDK, OMC autopilot, etc.) có thể gọi endpoint này để check quota mà không cần load HTML dashboard.

Response (JSON): { "object": "usage", "plan": "ultra_2000", "limit": 2000, "used": 195, "remaining": 1805, "window_seconds": 18000, "window_reset_seconds": 11400, "window_reset_at": "2026-05-12T07:55:00Z", "expires_at": "2026-06-10T...", "model": "nkq-4-6", "server_time": "2026-05-12T..." }

post/v1/usage

Response

Successful Response

{"stackTrail":"paths:/v1/usage:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.