---
title: "Get request logs statistics"
method: GET
path: "/api/linkedin-accounts/{account_id}/logs/stats"
tags: ["linkedin-accounts"]
---

# Get request logs statistics

`GET /api/linkedin-accounts/{account_id}/logs/stats`

## Request

- Base URL: `https://api.reachmcp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.reachmcp.com/api/linkedin-accounts/{account_id}/logs/stats`
- Auth: API key in header `X-API-Key`

Return aggregated request-log counts for the specified LinkedIn account. Data can be grouped by day, week, or month, and filtered by request type and date range.

## Path parameters

- `account_id` integer, required

## Query parameters

- `group_by` string: Aggregation granularity.
- `request_type` string, nullable: Optional request type filter.
- `start_date` string, date-time, nullable: Filter start timestamp (inclusive, UTC).
- `end_date` string, date-time, nullable: Filter end timestamp (inclusive, UTC).

## Response `200`

Successful Response

- RequestLogStatsOut
  - `group_by` string, required
  - `start_date` string, date-time, required
  - `end_date` string, date-time, required
  - `request_type` string, nullable
  - `available_actions` string[], required
  - `buckets` RequestLogStatsBucketOut[], required
    - `bucket_start` string, date-time, required
    - `action` string, required
    - `count` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/reachmcp/apis/mcp-reach.md) · [All operations](https://skmtc.dev/reachmcp/apis/mcp-reach/llms.txt) · [OpenAPI document](https://skmtc.dev/reachmcp/apis/mcp-reach/revisions/1a85fdaf3f7c?raw)
