Announcing the Appwrite OSS Fund, Learn More! 🤑
Docs

Execution Object

Properties

Name Type Description
$id string

Execution ID.

$read string[]

Execution read 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.

statusCode integer

The script status code.

response string

The script response output string. Logs the last 4,000 characters of the execution response 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",
    "$read": [
        "role:all"
    ],
    "functionId": "5e5ea6g16897e",
    "dateCreated": 1592981250,
    "trigger": "http",
    "status": "processing",
    "statusCode": 0,
    "response": "",
    "stderr": "",
    "time": 0.4
}