GET /organizations/{org}/settings/billing/usage
Gets a report of the total usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.
Note: This endpoint is only available to organizations with access to the enhanced billing platform. For more information, see "About the enhanced billing platform."
Servers
- https://api.github.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
org |
String | Yes |
The organization name. The name is not case sensitive. |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
day |
Integer | No |
If specified, only return results for a single day. The value of |
month |
Integer | No |
If specified, only return results for a single month. The value of |
hour |
Integer | No |
If specified, only return results for a single hour. The value of |
year |
Integer | No |
If specified, only return results for a single year. The value of |
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.