---
title: "Get execution logs of an automation."
method: GET
path: "/v1/automations/{id}/logs"
tags: ["Automation"]
---

# Get execution logs of an automation.

`GET /v1/automations/{id}/logs`

## Path parameters

- `id` integer, required

## Query parameters

- `ViewType` 0 | 1 — <p>Enum values:</p><ul><li><i>0 = List</i></li><li><i>1 = Kanban</i></li></ul>
- `Page` integer
- `ItemsPerPage` integer
- `ReturnTotalItems` boolean

## Response `200`

OK

- AutomationRunLogQueryResult
  - `totalItems` integer
  - `items` AutomationRunLog[], nullable
    - `id` integer
    - `automationId` integer
    - `departmentId` integer
    - `runAt` string, date-time
    - `meta` unknown
    - `linkedId` integer
    - `linkedName` string, nullable
    - `linkedType` integer

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.dev/infoset/apis/infoset-rest-api.md) · [All operations](https://skmtc.dev/infoset/apis/infoset-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infoset/infoset-rest-api/revisions/f5bc39a1ac15/schema)
