cURL
curl --request POST \ --url https://example.com/v1/api/codeengine/v2/packages/{packageId}/versions/{version}/functions/{functionName} \ --header 'Content-Type: application/json' \ --header 'X-DOMO-Developer-Token: <api-key>' \ --data ' { "inputVariables": { "paramName": "value" }, "settings": { "getLogs": true } } '
{ "executionId": "<string>", "packageId": "<string>", "version": "<string>", "functionName": "<string>", "status": "<string>", "settings": { "getLogs": true }, "startedOn": "2023-11-07T05:31:56Z", "startedBy": "<string>", "completedOn": "2023-11-07T05:31:56Z", "result": "<unknown>", "stdout": { "log": [ "<unknown>" ] }, "stderr": { "log": [ "<unknown>" ] }, "errorInformation": { "result": "<unknown>", "expectedType": "<string>", "actualType": "<string>", "expectedIsList": true, "actualIsList": true, "expectedAllowNull": true, "errorMessages": [ "<string>" ] } }
Runs a specific version of a Code Engine function.
Domo Developer Token for authentication.
"1.0.1"
"getExecutionDetails"
Key-value pairs matching the function's input parameters.
{ "paramName": "some value" }
Show child attributes
OK. Returns the execution details and result.
The output of the function (type 'any').