Execution

Properties

NAME TYPE DESCRIPTION
$id
string
Execution ID.
$createdAt
string
Execution creation date in ISO 8601 format.
$updatedAt
string
Execution upate date in ISO 8601 format.
$permissions
array
Execution roles.
functionId
string
Function ID.
trigger
string
The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.
status
string
The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`.
statusCode
integer
The script status code.
response
string
The script response output string. Logs the last 4,000 characters of the execution response output.
stdout
string
The script stdout output string. Logs the last 4,000 characters of the execution stdout output. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.
stderr
string
The script stderr output string. Logs the last 4,000 characters of the execution stderr output. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.
duration
number
The script execution duration in seconds.

Example