---
title: "Get a workflow run log"
method: GET
path: "/public/v1/workflows/{workflowId}/logs/{logId}"
tags: ["Workflows"]
---

# Get a workflow run log

`GET /public/v1/workflows/{workflowId}/logs/{logId}`

Returns one run with its per-node results. Requires a USER API key.

## Path parameters

- `workflowId` number, nullable
- `logId` number, nullable

## Response `200`

The run log with node results

- PublicWorkflowLogDetail
  - `id` number, required
  - `successful` boolean, required
  - `started_at` string, nullable
  - `completed_at` string, nullable
  - `duration` number, nullable — Run duration in ms.
  - `operations` number, nullable
  - `ai_credits` number, nullable
  - `error` string, nullable
  - `insufficient_credits` boolean, nullable
  - `prevented_loop` boolean, nullable
  - `node_results` PublicWorkflowLogNodeResult[], nullable
    - `id` number, required — Node-result ID. Use with the node trace endpoint.
    - `node_id` string, required
    - `alias` string, nullable
    - `type` string, nullable
    - `success` boolean, required
    - `error` string, nullable
    - `ai_credits` number, nullable
    - `created_at` string, required
    - `audit_log_id` string, nullable — Pointer to this node's full execution trace. Fetch via the node trace endpoint.

---

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