---
title: "Get automation logs."
method: GET
path: "/insights/automations/logs"
tags: ["Insights"]
---

# Get automation logs.

`GET /insights/automations/logs`

## Request

- Base URL: `https://socialbu.com/api/v1`
- URL: `https://socialbu.com/api/v1/insights/automations/logs`
- Auth: HTTP bearer

Returns the latest activity logs for accessible automations, optionally filtered to one automation.

## Query parameters

- `limit` integer
- `automation_id` integer

## Response `200`

successful operation

- object
  - `data` object[]: An array of automation activity log entries.
    - `id` integer: Unique identifier of the activity log entry.
    - `title` string: The automation description or title.
    - `description` string: Detailed description of the automation activity.
    - `timestamp` string: Human-readable relative time (e.g., "2 hours ago").
    - `created_at` string, date-time: The exact timestamp when the activity occurred.

## Other responses

- `404`: Resource not found

---

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