---
title: "Daily public replies, DMs and failures"
method: GET
path: "/stats"
tags: ["Logs"]
---

# Daily public replies, DMs and failures

`GET /stats`

## Request

- Base URL: `https://social-automation.cresclab.com/api/v1`
- URL: `https://social-automation.cresclab.com/api/v1/stats`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/cresclab/apis/social-automation-api/docs/stats/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `days` integer

## Response `200`

OK

- Stats
  - `days` integer
  - `daily` object[]
    - `date` string
    - `public_replies` integer
    - `dms` integer
    - `failed` integer
  - `totals` object
    - `public_replies` integer
    - `dms` integer
    - `failed` integer

## Other responses

- `400`: Invalid request (see error.field)
- `401`: Missing or invalid API key
- `403`: Insufficient scope, trial expired, contract expired or plan limit (see error.code and error.action_url)
- `429`: Rate limited

---

[API](https://skmtc.dev/cresclab/apis/social-automation-api.md) - [All operations](https://skmtc.dev/cresclab/apis/social-automation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cresclab/apis/social-automation-api/revisions/1d4ea62ba46d?raw)
