Checking for active sessions on self-hosted Seatable

Hello everyone,

Is there a way to check if there are active sessions?

Basically, I have 2 family members who use my self-hosted version of Seatable and I do operations from time to time on my server which might bring docker containers down.

Currently, I text them to ask if they are currently logged in Seatable and continue my operations if not. I would love to automate this and basically check with a script or API call if there are online users.

So far I found this and this references on the API which I might use, but I haven’t yet tried any of them.

Let me know if there is a better way.

Thanks in advance

In System Admin, you can check the number of active websocket connections. This tells you how man users have how many bases open.

Thanks for answering.

Is it possible to check via API/cli?

Will try that. Thank you!

That works! Thank you!

{"version":"5.3.0","users_count":2,"active_users_count":2,"groups_count":1,"org_count":0,"dtables_count":5,"multi_tenancy_enabled":false,"is_pro":false,"with_license":false,"license_expiration":"","license_mode":"","license_maxusers":0,"license_to":"","dtable_server_info":[{"enable_cluster":false,"web_socket_count":0,"operation_count_since_up":236,"loaded_dtables_count":5,"last_period_operations_count":0,"last_dtable_saving_count":0,"last_dtable_saving_start_time":1760198277640,"last_dtable_saving_end_time":1760198277641}],"dtable_server_info_in_etcd":[],"archived_base_count":0,"archived_row_count":0,"archived_base_storage":0}
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.