Retrieves the logs for a completed session.
{"logs": ...} object.
If the session is still Running or Shutting down, the response will be {"logs": null} with HTTP 200. This endpoint is intended for sessions that have finished running. For running sessions, use the logs_url returned by /run_workflow to view live logs.
The logs capture the agent’s actions during the session, including page navigations, form field interactions, and decision points. The format is structured JSON — contact us at support@simplex.sh if you need help with parsing.Simplex API Key
The ID of the session to retrieve the logs for
Session logs
The logs for the session as a JSON object. Returns null if the session is still Running or Shutting down. This is a custom format that we use to capture the actions and state of the session -- talk to us if you need help parsing this.