Skip to main content
PUT
/
api
/
v1
/
workflows
/
{workflow_id}
/
nodes
/
{node_id}
Update Node
curl --request PUT \
  --url https://api.example.com/api/v1/workflows/{workflow_id}/nodes/{node_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "node_type": "<string>",
  "position": 123,
  "parallel_group": 123,
  "depends_on": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "task_template": {},
  "node_config": {},
  "input_mapping": {},
  "max_retries": 123
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "position": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "node_type": "task",
  "parallel_group": 123,
  "depends_on": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "task_template": {},
  "node_config": {},
  "input_mapping": {},
  "retry_count": 0,
  "max_retries": 1
}

Documentation Index

Fetch the complete documentation index at: https://docs.aitasker.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

workflow_id
string<uuid>
required
node_id
string<uuid>
required

Body

application/json
node_type
string | null
position
integer | null
parallel_group
integer | null
depends_on
string<uuid>[] | null
task_template
Task Template · object
node_config
Node Config · object
input_mapping
Input Mapping · object
max_retries
integer | null

Response

Successful Response

id
string<uuid>
required
workflow_id
string<uuid>
required
position
integer
required
created_at
string<date-time>
required
node_type
string
default:task
parallel_group
integer | null
depends_on
string<uuid>[]
task_template
Task Template · object
node_config
Node Config · object
input_mapping
Input Mapping · object
retry_count
integer
default:0
max_retries
integer
default:1