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
Request
- Base URLhttps://api.nkq.vn (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.