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>"
}Patches a single step on an activity. Whitelist: only scriptBody is writable, and only on SCRIPT-kind steps — non-SCRIPT kinds return 400. Unknown fields are silently ignored for legacy parity.
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.
API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.
Unique identifier (UUID) of the resource.
Unique identifier (UUID) of the step within the activity.
Patch payload for an activity step. Only scriptBody is currently writable; unknown fields are silently ignored for legacy compatibility.
New script source for SCRIPT-kind steps. Pass null to clear.
Updated step (legacy id-shaped response)
ID of the patched step.