跳转到主要内容
POST
/
base
/
{baseId}
/
workflow
/
{workflowId}
/
action
/
{actionId}
/
duplicate
cURL
curl --request POST \
  --url http://127.0.0.1:3000/api/base/{baseId}/workflow/{workflowId}/action/{actionId}/duplicate \
  --header 'Authorization: Bearer <token>'
{
  "config": {
    "tableId": "<string>",
    "fields": {},
    "baseId": "<string>",
    "loopKey": {
      "resolvable": true,
      "type": "fact",
      "fact": "<string>",
      "path": "<string>",
      "keyStack": [
        "<string>"
      ],
      "params": {
        "pipes": [
          "uppercase"
        ]
      }
    },
    "_fieldsOrder": [
      "<string>"
    ]
  },
  "id": "<string>",
  "category": "action",
  "type": "createRecord",
  "name": "<string>",
  "description": "<string>",
  "testResult": {
    "createdTime": "<string>",
    "spent": 123,
    "inputRaw": "<unknown>",
    "outputRaw": "<unknown>",
    "inputVariables": {},
    "outputVariables": {},
    "errorMsg": "<string>"
  },
  "outputVariables": {},
  "inputVariables": {},
  "createdTime": "<string>",
  "lastModifiedTime": "<string>"
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

baseId
string
必填
workflowId
string
必填
actionId
string
必填

响应

200 - application/json

Successful duplicate

config
object
必填
id
string
必填

node id

category
enum<string>
必填
可用选项:
action
type
enum<string>
必填

This Action will activate when a record is created in a table.

可用选项:
createRecord
name
string

name of the node

description
string

description of the node

testResult
object

action test result

outputVariables
object

output variables

inputVariables
object

input variables

createdTime
string | null

created time

lastModifiedTime
string | null

last modified time

Last modified on December 10, 2025