---
title: "Returns usage history (CPU and Memory) of the specified workspace within defined period. Returns Memory (in MiB) and CPU (in milli CPU) usage."
method: GET
path: "/runtime-quota-usages/flows/{flow_id}/history"
tags: ["runtime quota usages"]
---

# Returns usage history (CPU and Memory) of the specified workspace within defined period. Returns Memory (in MiB) and CPU (in milli CPU) usage.

`GET /runtime-quota-usages/flows/{flow_id}/history`

You have to be workspace member to access this resource. Memory usage is reported as a sum of RAM usage for a day. CPU usage is reported as an amount of consumed CPU for a day.

## Path parameters

- `flow_id` string, required

## Query parameters

- `workspace_id` string, required
- `from` string, required
- `to` string, required
- `group_by` string

## Response `200`

OK

- object
  - `data` object[], required
    - `id` string, required
    - `memory` integer, required
    - `cpu` integer, required

## Other responses

- `401` — Unauthorized
- `404` — Not Found

---

[API](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2.md) · [All operations](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/elastic-io-rest-api-documentation-v2/revisions/411f9f98c01e/schema)
