action appwrite_functions_list_executions { label: "List Executions" description: "Get a list of all the current user function execution logs. You can use the query params to filter your results. On admin mode, this endpoint will return a list of all of the project's executions. [Learn more about different API modes](/docs/admin)." provider: appwrite method: GET path: "/functions/{functionId}/executions" encoding: json input: { type: "object" properties: { functionId: { type: "string" } limit: { type: "integer" format: "int32" } offset: { type: "integer" format: "int32" } orderType: { type: "string" } search: { type: "string" } } required: ["functionId"] additionalProperties: false } output: { type: "object" description: "Executions List" required: ["executions", "sum"] properties: { executions: { type: "array" description: "List of executions." items: { type: "object" description: "Execution" required: ["$id", "functionId", "dateCreated", "trigger", "status", "exitCode", "stdout", "stderr", "time"] properties: { "$id": { type: "string" description: "Execution ID." } dateCreated: { type: "integer" format: "int32" description: "The execution creation date in Unix timestamp." } exitCode: { type: "integer" format: "int32" description: "The script exit code." } functionId: { type: "string" description: "Function ID." } status: { type: "string" description: "The status of the function execution. Possible values can be: `waiting`, `processing`, `completed`, or `failed`." } stderr: { type: "string" description: "The script stderr output string. Logs the last 4,000 characters of the execution stderr output" } stdout: { type: "string" description: "The script stdout output string. Logs the last 4,000 characters of the execution stdout output." } time: { type: "number" format: "float" description: "The script execution time in seconds." } trigger: { type: "string" description: "The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`." } } } } sum: { type: "integer" format: "int32" description: "Total sum of items in the list." } } } }