---
title: "Activity Logs"
method: POST
path: "/sites/{id}/logs/activity"
tags: ["sites"]
---

# Activity Logs

`POST /sites/{id}/logs/activity`

## Request

- Base URL: `https://my.pressable.com/v1`
- URL: `https://my.pressable.com/v1/sites/{id}/logs/activity`
- Auth: none declared
- TypeScript: <https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/docs/sites/:id/logs/activity/post.ts> (a function with typed inputs; its response is checked against the schema)

Get a list of your site's activity logs to track user actions and assist in debugging.Logs, available for the previous 30 days, can shed light on user activities on your site. Please note that we provide up to 50 log messages per page in our responses.

## Path parameters

- `id` integer, required

## Request body

- object
  - `page` integer
  - `per_page` integer
  - `filters` object[]
    - `field` string
    - `operator` string
    - `value` string

## Response `200`

Successful Response

- object
  - `message` string
  - `data` object[]
  - `page` object

---

[API](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1.md) - [All operations](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/revisions/267a95219f47?raw)
