> Discover all available pages from the documentation index: https://mastra.zisheng.pro/ja/llms.txt # Logs API Logs API には、Mastra のシステムログやデバッグ情報にアクセスし、クエリするためのメソッドが用意されています。 ## ログの取得 必要に応じてフィルターを指定し、システムログを取得します。 ```typescript const logs = await mastraClient.listLogs({ transportId: 'transport-1', }) ``` ## 特定の実行のログを取得 特定の実行に関するログを取得します。 ```typescript const runLogs = await mastraClient.getLogForRun({ runId: 'run-1', transportId: 'transport-1', }) ```