MoonshotAI / MoonshotAI/kimi-code

API /usages 接口 totalQuota 字段返回 有BUG

Open
#1,569 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
7.5k
Forks
1.2k
Avg merge
11h 53m
Merged PRs (30d)
350

Description

GET https://api.kimi.com/coding/v1/usages 返回的 totalQuota 字段值始终为 99,与账号实际月度总限额不符。

请确认这是接口设计还是 BUG。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin by reproducing GET https://api.kimi.com/coding/v1/usages and comparing totalQuota with the account's actual monthly limit. Then trace the /usages implementation or API contract to determine whether 99 is intentional; done means the behavior is confirmed and, if it is a bug, totalQuota reports the correct limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.