Skip to content

API returns zero usage data despite active Cursor usage #1

@trentsikute

Description

@trentsikute

Bug Description

The cursor-credits tool appears unable to retrieve actual usage data from the Cursor API. The API responds successfully (HTTP 200), but all usage values are zero even though there has been active usage this month.

API Response

{
  "gpt-4": {
    "numRequests": 0,
    "numRequestsTotal": 0,
    "numTokens": 0,
    "maxTokenUsage": null,
    "maxRequestUsage": null
  },
  "startOfMonth": "2026-01-23T16:19:50.000Z"
}

Steps to Reproduce

1.	Authenticate with Cursor API using the method described in the repo
2.	Call the usage endpoint
3.	Receive a 200 response with all usage fields = 0

Expected Behavior

The API should return actual request and token usage reflecting activity during the current billing period.

Actual Behavior

The API returns zero for all usage metrics.

Environment

•	OS: [Your OS, e.g. macOS 14.3]
•	Cursor version: [Find in Cursor → Settings → About]
•	Subscription type: [Pro / Business / etc.]

Additional Context

•	Usage does appear correctly inside the Cursor web dashboard
•	This suggests the API endpoint may be deprecated, restricted, or not wired to billing usage

Happy to provide logs or test alternative endpoints if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions