Get a list of usages.
get/midgard/v0.1/usages
Get a list of usages filtered by project ID, environment ID, application ID, or billing profile ID. Results can be grouped and can include historical or enriched data.
Request
Authorization
X-AT
header
apiKey
Query Parameters
groupByComma-separated list of fields to group by.
string
enrichDataWhether to enrich usage rows with Midgard project, environment, and application data.
boolean
includeHistoryWhether to include historical usage instead of only current usage.
boolean
billingProfileIdThe id of the billing profile.
string
projectIdThe id of the project.
integer
environmentIdThe id of the environment.
integer
applicationIdThe id of the application.
integer
dateFromStart date in YYYY-MM-DD format.
string
dateToEnd date in YYYY-MM-DD format.
string
Response
200Project usage list retrieved successfully.
403User is not allowed to access this resource.
Shell cURL
shell
Show schema
json