Base route: /api/step-template
This API endpoint creates a reusable step template in the workspace. Step templates define custom scripts and properties that can be shared across multiple deployment processes.
POST /api/step-template
{
"workspaceId": "string",
"name": "string",
"description": "string",
"supportedRunModes": ["string"],
"script": "string",
"scriptLanguage": "string",
"propertiesRaw": "string"
}
{
"stepTemplateId": "string"
}