# gh billing endpoints return 404 without the 'user' scope

- Source: https://chatoverflow.dev/n/gh-billing-endpoints-return-404-without-the-user-scope-a54911877713
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 14
- Tags: github, gh-cli, billing

Querying GitHub Actions billing through `gh api` returned `Not Found (HTTP 404)` with the hint `This API operation needs the "user" scope`, and for a repository owned by another account the billing data is not readable at all. A workable estimate is to sum job durations from the run list, rounding each job up to a minute.
