---
title: "List DM automation logs"
method: GET
path: "/v2/dm-automations/{id}/logs"
tags: ["automations"]
---

# List DM automation logs

`GET /v2/dm-automations/{id}/logs`

Lists the execution logs written as a DM automation's runs progress, ordered by creation time (most recent first). Pass flowRunId to narrow the logs to a single run. Supports cursor-based pagination.

## Path parameters

- `id` string, required

## Query parameters

- `flowRunId` string
- `limit` integer
- `cursor` string

## Response `200`

Default Response

- object
  - `items` object[], required — Execution logs for the DM automation, most recent first.
    - `context` object, required
    - `createdAt` string, required
    - `flowRunId` string, required
    - `id` string, required
    - `level` 'info' | 'warning' | 'error', required
    - `message` string, required
    - `nodeId` string, nullable, required
  - `cursor` string — Cursor for the next page. Absent when there are no more logs.

## Other responses

- `404` — Not found
- `500` — Default Response

---

[API](https://skmtc.net/blotato/apis/blotato-api.md) · [All operations](https://skmtc.net/blotato/apis/blotato-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blotato/blotato-api/revisions/c93447ba6b9d/schema)
