GET /users/{username}/settings/billing/premium_request/usage

Gets a report of premium request usage for a user.

Servers

Path parameters

Name Type Required Description
username String Yes

The handle for the GitHub user account.

Query parameters

Name Type Required Description
day Integer No

If specified, only return results for a single day. The value of day is an integer between 1 and 31. If no year or month is specified, the default year and month are used.

month Integer No

If specified, only return results for a single month. The value of month is an integer between 1 and 12. Default value is the current month. If no year is specified the default year is used.

product String No

The product name to query usage for. The name is not case sensitive.

year Integer No

If specified, only return results for a single year. The value of year is an integer with four digits representing a year. For example, 2025. Default value is the current year.

model String No

The model name to query usage for. The name is not case sensitive.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.