---
title: "Get cpu reports of database"
method: GET
path: "/v1/databases/{id}/metrics/cpu"
tags: ["Reports"]
---

# Get cpu reports of database

`GET /v1/databases/{id}/metrics/cpu`

get cpu reports of database that user owns

## Path parameters

- `id` string, required

## Query parameters

- `since` number, required

## Response `200`

Successful operation

- Reports
  - `end` number
  - `result` object[]
    - `values` array[]
      - union[]
        - union
          - number
          - string
    - `applet` string

## Other responses

- `400` — Bad request
- `401` — Missing authentication
- `404` — Database does not exists.

## Changes

> 19 revisions in range; 1 not diffed.

- **2023-10-06** `5f87209bfb82` — 1 info
  - added the media type `application/json` for the response with the status `200`
- **2023-10-05** `a8a555e0bb75` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/liara-cloud/apis/dbaas/changes/v1/databases/:id/metrics/cpu/get.md)

---

[API](https://skmtc.dev/liara-cloud/apis/dbaas.md) · [All operations](https://skmtc.dev/liara-cloud/apis/dbaas/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/liara-cloud/dbaas/revisions/6423b3e16f16/schema)
