> Discover all available pages from the documentation index: https://mastra.zisheng.pro/ja/llms.txt # Mastra.getStorage() `.getStorage()` メソッドは、Mastra インスタンスに設定されている Storage インスタンスを取得します。 ## 使用例 ```typescript mastra.getStorage() ``` ## パラメーター このメソッドはパラメーターを受け取りません。 ## 戻り値 **storage** (`MastraCompositeStore | undefined`): 設定済みの Storage インスタンス。Storage が設定されていない場合は undefined。 ## 関連項目 - [Storage の概要](https://mastra.zisheng.pro/ja/reference/storage/overview) - [Storage リファレンス](https://mastra.zisheng.pro/ja/reference/storage/libsql)