v5

latestOpenAPI 3.1.02026-08-08341215300.9 KB
actions

Create Custom Script

Create a custom script action.

post/api/actions/custom-script

Request body

namestring required
descriptionstring nullable
script_codestring required
script_promptstring nullable
script_inputsobject nullable
credential_keysstring[] nullable
approval_modestring

Response

Successful Response

{"stackTrail":"paths:/api/actions/custom-script:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}