```swift import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let apps = Apps(client) let appSecretList = try await apps.listSecrets( appId: "", queries: [], // optional total: false // optional ) ```