---
title: "Get log volume over time"
method: GET
path: "/v2/projects/{project_id}/logs/chart"
tags: ["Logs, Metrics & Events"]
---

# Get log volume over time

`GET /v2/projects/{project_id}/logs/chart`

## Request

- Base URL: `https://api.liara.ir`
- URL: `https://api.liara.ir/v2/projects/{project_id}/logs/chart`
- Auth: HTTP bearer

Returns how many log lines the app wrote in each 5-minute window. Team permission: any project permission.

## Path parameters

- `project_id` string, required

## Query parameters

- `teamID` string: 24-character hexadecimal ID.
- `start` integer
- `end` integer
- `appletId` string
- `releaseId` string

## Response `200`

Log counts, grouped by instance and release.

- object
  - `data` object[]
    - `metaData` LogStreamMetaData
      - `appletId` string: The instance that wrote the lines.
      - `releaseId` string: The release the instance belongs to.
    - `values` array[]: `[timestamp, count]` pairs. The timestamp is in Unix seconds; the count is a string.
      - unknown[]
        - unknown

## Other responses

- `204`: The app has no releases yet, so there are no logs.
- `400`: The body or a parameter is invalid (`message` says which), or `teamID` isn't a valid ID.
- `401`: The API token is missing, invalid or expired.
- `403`: With `teamID`: you aren't a member of the team (`team_not_found`), or you don't have the required permission on this app (`no_permission`).
- `404`: The app doesn't exist.
- `409`: You sent both `appletId` and `releaseId`.
- `428`: `start` is further back than your bundle plan's log retention, or `end` isn't after `start`.
- `503`: The data is temporarily unavailable. Try again later.

## Changes

- **2026-11-02** `610162e8a623`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/liara-cloud/apis/paas/changes/v2/projects/:project_id/logs/chart/get.md)

---

[API](https://skmtc.dev/liara-cloud/apis/paas.md) - [All operations](https://skmtc.dev/liara-cloud/apis/paas/llms.txt) - [OpenAPI document](https://skmtc.dev/liara-cloud/apis/paas/revisions/610162e8a623?raw)
