get_session
Check whether an Odoo.sh session exists and report its source, assigned user, and seconds until expiry, so agents know if authentication is available.
Instructions
Report whether the server has an Odoo.sh session, where it came from and who it belongs to.
Returns: whether a session is available, its source, its user and the seconds left before its max age. Touches: reads only Bounds: one request to Odoo.sh, none when there is no session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| problem | Yes | ||
| identity | Yes | ||
| available | Yes | ||
| seconds_left | Yes |