> ## Documentation Index
> Fetch the complete documentation index at: https://docs.streamlogia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Log Stats

> Get a count of log entries by level for a project.

<Note>Base URL: `https://api.streamlogia.com`</Note>

**`GET /v1/projects/{projectId}/logs/stats`**

**`Authorization: Bearer YOUR_API_KEY`**

***

## Path parameters

<ParamField path="projectId" type="string" required>UUID of the project.</ParamField>

***

## Response

```json theme={null}
{
  "DEBUG": 12,
  "INFO": 580,
  "WARN": 34,
  "ERROR": 7
}
```

***

## Example

```bash theme={null}
curl https://api.streamlogia.com/v1/projects/YOUR_PROJECT_ID/logs/stats \
  -H "Authorization: Bearer YOUR_API_KEY"
```
