Get hourly usage for Fargate
GET {{baseUrl}}/api/v1/usage/fargate?start_hr=2007-08-06T13:18:56.043Z&end_hr=2007-08-06T13:18:56.043Z
Get hourly usage for Fargate. Note: hourly usage data for all products is now available in the Get hourly usage by product family API. Refer to Migrating from the V1 Hourly Usage APIs to V2 for the associated migration guide.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
start_hr | string | (Required) Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. | |
end_hr | string | Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending before this hour. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"usage":[{"apm_fargate_count":84006609,"appsec_fargate_count":44757743,"avg_profiled_fargate_tasks":-70430808,"hour":"1986-04-19T23:21:54.107Z","org_name":"commodo cupidatat proident","public_id":"tempor sit proident","tasks_count":41735068},{"apm_fargate_count":49982447,"appsec_fargate_count":26194494,"avg_profiled_fargate_tasks":52536481,"hour":"1957-12-05T14:30:41.725Z","org_name":"dolore quis","public_id":"voluptate dolor","tasks_count":6712121}]}