Skip to main content
GET
https://your-rootprint-host
/
api
/
auth
/
get-session
Get current session
curl --request GET \
  --url https://your-rootprint-host/api/auth/get-session \
  --cookie better-auth.session_token=
null

Documentation Index

Fetch the complete documentation index at: https://docs.rootprint.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

better-auth.session_token
string
cookie
required

Better Auth session cookie used by the Rootprint web UI.

Response

Current session, or null.

The response is of type unknown.