Execution

Each time an Appwrite Function runs, an execution is created. Each execution has a unique ID. If you enable execution logs in your function, you can find function executions logged in the Executions tab.

Execution table

In your function's Executions tab, you will see a table of your recent executions. Here's the information shown on this table.

ColumnDescription
Execution IDUnique identifier for each execution
StatusThe current status of the execution
CreatedTimestamp of when the execution was created
TriggerThe platform event that triggered the execution
MethodThe HTTP method used to create the execution
PathThe URL path the function execution was called with
DurationThe time taken for the execution

Execution status

Each execution can have one of the follow status.

Statusdescription
scheduledThe function execution will trigger later.
waitingThe execution is queued but has not been picked up for processing.
processingThe function execution has begun and has not finished.
completedThe function executed successfully.
failedThe function execution was not successful.

Execution details

When you click on an execution, you will be taken to an execution detail screen.

Execution details screen

Execution details screen

You can find both request and response details. Request and response body are not logged to protect user privacy. This ensures that developers do not see user data by default and no sensitive data is retained.

If you need to log debug data or audit logs, you can use function logging features to explicitly log the information you need.

Log retention

Logs are not retained forever in order to be compliant with GDPR and other data privacy standards. Free plan organizations will retain logs for 24 hours, Pro plan organizations will retain logs for 7 days.

If you need longer log retention, you can log to an Appwrite collection. Remember to configure proper permissions and implement Appwrite Functions or other scheduled tasks to expire and clean up logs.