Get non-identifying aggregate session posture.
GET
/api/admin/agent-read/session-posture
Code sample: Shell / cURL
curl --request GET \ --url https://auth.example.com/api/admin/agent-read/session-posture \ --header 'Authorization: Bearer <token>'Requires admin:sessions:read. Aggregates session counts and time windows in the Core DB; user, session, device, network, and token identifiers are neither selected nor returned.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Tenant session posture without identifying records.
Media type application/json
object
snapshot
required
object
total_sessions
required
integer
active_sessions
required
integer
expired_sessions
required
integer
window
required
object
oldest_created_at
required
string | null format: date-time
newest_last_accessed_at
required
string | null format: date-time
next_expiration_at
required
string | null format: date-time
latest_expiration_at
required
string | null format: date-time
key
additional properties
key
additional properties
key
additional properties
Example generated
{ "snapshot": { "total_sessions": 1, "active_sessions": 1, "expired_sessions": 1, "window": { "oldest_created_at": "2026-04-15T12:00:00Z", "newest_last_accessed_at": "2026-04-15T12:00:00Z", "next_expiration_at": "2026-04-15T12:00:00Z", "latest_expiration_at": "2026-04-15T12:00:00Z" } }}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}