Appwrite icon

Appwrite

Interact with Appwrite API

Actions181

Functions → Get Execution

AI-generated

Overview

This node interacts with the Appwrite API to perform various operations related to Appwrite resources. Specifically, for the 'Functions' resource and the 'Get Execution' operation, it retrieves details about a specific execution of a function by its execution ID. This is useful for monitoring and managing function executions within the Appwrite environment, such as debugging or auditing function runs.

Use Case Examples

  1. Retrieve the details of a specific function execution by providing the function ID and execution ID.
  2. Monitor the status and output of a function execution to debug or analyze its behavior.

Properties

Name Meaning
Function ID The ID of the function whose execution details are to be retrieved.
Execution ID The ID of the specific execution instance of the function to retrieve.

Output

JSON

  • executionId - The unique identifier of the function execution.
  • functionId - The ID of the function associated with the execution.
  • status - The current status of the execution (e.g., success, failure, running).
  • startTime - Timestamp when the execution started.
  • endTime - Timestamp when the execution ended.
  • logs - Logs or output generated during the execution.

Dependencies

  • Appwrite API key credential for authentication

Troubleshooting

  • Ensure that the provided Function ID and Execution ID are correct and exist in the Appwrite project.
  • Check that the API key credential has sufficient permissions to access function executions.
  • Common errors include 'Unknown resource' if the resource parameter is incorrect, or authentication errors if the API key is invalid or missing.

Links

Discussion