Apps are containers for Modal resources like Functions, Classes, and Sandboxes. Use the Apps API to reference deployed apps.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/modal-labs/modal-client/llms.txt
Use this file to discover all available pages before exploring further.
Access the Apps API
Methods
modal.apps.fromName(name, params?)
Reference a deployed App by name, or create it if it does not exist.
Name of the App to reference.
Optional parameters
The referenced App object.
Throws
NotFoundError if the app doesn’t exist and createIfMissing is false.App object
TheApp object represents a deployed Modal application.
Properties
Unique identifier for the App.
Name of the App, if it was looked up by name.