---
title: "GET /base/{baseId}/workflow/{workflowId}/logic/{logicId}"
method: GET
path: "/base/{baseId}/workflow/{workflowId}/logic/{logicId}"
tags: ["automation"]
---

# GET /base/{baseId}/workflow/{workflowId}/logic/{logicId}

`GET /base/{baseId}/workflow/{workflowId}/logic/{logicId}`

get a automation workflow logic

## Path parameters

- `baseId` string, required
- `workflowId` string, required
- `logicId` string, required

## Response `200`

Successful response

- union
  - object
    - `name` string — name of the node
    - `description` string — description of the node
    - `config` object, required
      - `conditions` object, required
    - `id` string, required — node id
    - `category` 'logic', required
    - `testResult` object — action test result
      - `spent` number — spent time
      - `inputRaw` unknown
      - `outputRaw` unknown
      - `inputVariables` object — The variables snapshot when executed
      - `outputVariables` object — The variables snapshot when executed
      - `errorMsg` string
      - `createdTime` string, required
    - `outputVariables` object — output variables
    - `inputVariables` object — input variables
    - `createdTime` string, nullable — created time
    - `lastModifiedTime` string, nullable — last modified time
    - `type` 'condition', required — Condition logic
  - object
    - `name` string — name of the node
    - `description` string — description of the node
    - `config` object, required
      - `fact` union, required
        - object
          - `resolvable` true, required — Need be resolved to static values before running
          - `type` 'literal', required
          - `value` unknown
        - object
          - `resolvable` true, required — Need be resolved to static values before running
          - `type` 'fact', required
          - `path` string — json-path syntax
          - `keyStack` string[] — save select stack
          - `params` object
            - `pipes` string[] — Pipe functions to transform the fact value
          - `fact` string, required — Fact name, actionId or triggerId
        - object
          - `resolvable` true, required — Need be resolved to static values before running
          - `type` 'array', required
          - `nodes` union[], required — Array of literal and fact nodes, all value will be stringify and join together
            - union
              - …
        - unknown
    - `id` string, required — node id
    - `category` 'logic', required
    - `testResult` object — action test result
      - `spent` number — spent time
      - `inputRaw` unknown
      - `outputRaw` unknown
      - `inputVariables` object — The variables snapshot when executed
      - `outputVariables` object — The variables snapshot when executed
      - `errorMsg` string
      - `createdTime` string, required
    - `outputVariables` object — output variables
    - `inputVariables` object — input variables
    - `createdTime` string, nullable — created time
    - `lastModifiedTime` string, nullable — last modified time
    - `type` 'Repeat', required — Actions in this group will repeat for each item in the input list.

---

[API](https://skmtc.dev/teable/apis/teable-app.md) · [All operations](https://skmtc.dev/teable/apis/teable-app/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/teable/teable-app/revisions/7515f3b33d79/schema)
