Skip to main content

Get Session

Required role: read or higher.

Retrieve login session information for your current user session.

Responses
200

The response body contains current session information including tenant details.

Schema OPTIONAL
role string

Possible values: [read, write, admin, owner]

A role in the RBAC model. Declaration order defines the privilege order.

tenant_id uuid
tenant_name string

Current user's tenant name

500

Request failed.

Schema OPTIONAL
details

Detailed error metadata. The contents of this field is determined by error_code.

error_code string

Error code is a string that specifies this error type.

message string

Human-readable error message.