PUT
/
workflows
/
steps
/
{id}
Update step
curl --request PUT \
  --url https://core.ravenna.ai/api/workflows/steps/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-ravenna-api-token: <api-key>' \
  --data '{
  "title": "<string>",
  "description": "<string>",
  "action": "<string>",
  "inputs": {},
  "metadata": {
    "groupId": "<string>",
    "isHidden": true,
    "isNotDeletable": true,
    "isNotDuplicable": true,
    "isNotReOrdable": true
  },
  "workflowId": "<string>",
  "sourceId": "<string>",
  "targetId": "<string>"
}'
{
  "id": "<string>",
  "title": "<string>",
  "description": "<string>",
  "action": {
    "name": "<string>",
    "description": "<string>",
    "title": "<string>"
  },
  "inputs": {},
  "metadata": {
    "groupId": "<string>",
    "isHidden": true,
    "isNotDeletable": true,
    "isNotDuplicable": true,
    "isNotReOrdable": true
  }
}

Authorizations

x-ravenna-api-token
string
header
required

Path Parameters

id
string
required

The unique identifier for the step

Body

application/json
action
string
required
inputs
object
required
workflowId
string
required
title
string
description
string | null
metadata
object
sourceId
string
targetId
string

Response

Successful response

id
string
required
title
string
required
action
object
required
inputs
object
required
description
string | null
metadata
object