appwrite/docs/examples/1.8.x/server-swift/examples/functions/get-execution.md

391 B

import Appwrite

let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID .setSession("") // The user session to authenticate with

let functions = Functions(client)

let execution = try await functions.getExecution( functionId: "<FUNCTION_ID>", executionId: "<EXECUTION_ID>" )