You can use these CLI commands to find, view, and remove user sessions in a terminal:

CLI Command Description
photoprism-pro sess ls [search] Finds and displays sessions
photoprism-pro sess show [id] Shows detailed session information
photoprism-pro sess rm [id] Deletes the specified session
photoprism-pro sess clear Removes all sessions

In addition, login attempts can be viewed in the application service logs or searched in a terminal using the following commands:

photoprism-pro audit logins [search]

Command Options

You can combine the sess ls and audit logins commands with these flags to change the output format and the maximum number of search results:

Command Flag Description
--md, -m format as machine-readable Markdown
--csv, -c export as semicolon separated values
--tsv, -t export as tab separated values
-n LIMIT LIMIT number of results (default: 100)

PhotoPrism® Documentation

For detailed information on specific product features, services, and related resources, see our Knowledge Base, or read the User Guide for help using the web user interface: