We've raised a $10M seed round! 🚀
Docs

Execution Object

Properties

Name Type Description
$id string

Execution ID.

$permissions permissions

Execution permissions.

functionId string

Function ID.

dateCreated integer

The execution creation date in Unix timestamp.

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.

exitCode integer

The script exit code.

stdout string

The script stdout output string. Logs the last 4,000 characters of the execution stdout output.

stderr string

The script stderr output string. Logs the last 4,000 characters of the execution stderr output

time number

The script execution time in seconds.

Examples

JSON

{
    "$id": "5e5ea5c16897e",
    "$permissions": {
        "read": [
            "user:5e5ea5c16897e"
        ],
        "write": [
            "user:5e5ea5c16897e"
        ]
    },
    "functionId": "5e5ea6g16897e",
    "dateCreated": 1592981250,
    "trigger": "http",
    "status": "processing",
    "exitCode": 0,
    "stdout": "",
    "stderr": "",
    "time": 0.4
}