Skip to main content
PATCH
/
api
/
activities
/
{id}
/
steps
/
{stepId}
Update an activity step
curl --request PATCH \
  --url https://platform.kodexa.ai/api/activities/{id}/steps/{stepId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "scriptBody": "<string>"
}
'
{
  "id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://developer.kodexa.ai/llms.txt

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

Authorizations

x-api-key
string
header
required

API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.

Path Parameters

id
string<uuid>
required

Unique identifier (UUID) of the resource.

stepId
string<uuid>
required

Unique identifier (UUID) of the step within the activity.

Body

application/json

Patch payload for an activity step. Only scriptBody is currently writable; unknown fields are silently ignored for legacy compatibility.

scriptBody
string | null

New script source for SCRIPT-kind steps. Pass null to clear.

Response

Updated step (legacy id-shaped response)

id
string

ID of the patched step.