---
title: "Stats records"
method: GET
path: "/v1/stats/records"
tags: ["Owner"]
---

# Stats records

`GET /v1/stats/records`

## Request

- Base URL: `https://api.vicem.ai`
- URL: `https://api.vicem.ai/v1/stats/records`
- Auth: HTTP bearer

## Query parameters

- `metric` 'calls' | 'messages' | 'bookings' | 'scams' | 'people' | 'after_hours' | 'phone_off' | 'junk_silent' | 'real_unknowns' | 'booked' | 'call_messages' | 'calls_for_you', required
- `from` string, required
- `to` string, required

## Response `200`

OK

- StatsRecordsResponse
  - `title` string, required
  - `records` object[], required
    - `id` string, required
    - `at` string, date-time, required
    - `title` string, required
    - `detail` string, nullable, required
    - `interactionId` string, nullable, required
    - `ledgerEntryId` string, nullable, required
  - `total` integer, required

## Other responses

- `400`: Invalid request (body not JSON, or schema validation failed).
- `401`: Missing, expired or invalid bearer token.
- `500`: Unexpected server error (reported to Sentry).

---

[API](https://skmtc.dev/vicem/apis/vicem-api.md) · [All operations](https://skmtc.dev/vicem/apis/vicem-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vicem/apis/vicem-api/revisions/9efcec07e5f4?raw)
