@salesforce/agents
    Preparing search index...

    Function listSessionTraces

    • List trace files for a given agent session.

      Returns one entry per .json file in the session's traces/ directory. File path is absolute. Returns an empty array if the traces directory does not exist.

      Parameters

      • agentId: string
      • sessionId: string

      Returns Promise<TraceFileInfo[]>