---
title: "Returns usage metrics (CPU and Memory) of the specified workspace. Returns Memory (in MiB) and CPU (in milli CPU) usage."
method: GET
path: "/runtime-quota-usages/workspaces/{workspace_id}"
tags: ["runtime quota usages"]
---

# Returns usage metrics (CPU and Memory) of the specified workspace. Returns Memory (in MiB) and CPU (in milli CPU) usage.

`GET /runtime-quota-usages/workspaces/{workspace_id}`

Memory usage is reported as a sum of RAM usage for each second during the specified period for each step. CPU usage is reported as an amount of consumed CPU for each step. Only a corresponding contract member can be authorized to access this resource.

## Path parameters

- `workspace_id` string, required

## Query parameters

- `from` string, required
- `to` string, required

## Response `200`

OK

- object
  - `data` object, required
    - `memory` integer, required
    - `cpu` integer, required
    - `flows` 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)
