session_status
Check whether a Kratos simulation session is ready, closed, dead, or lost, see if its worker is busy, review step count, and inspect death cause with optional solver log tail.
Instructions
State of a session: ready/closed/dead/lost, whether the worker is busy with a request, recorded step count, and (for dead sessions) why it died with the log tail. Set log_tail > 0 to include the last N lines of the session's solver log. Use session_model_info for the live simulation time/step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_tail | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||