Skip to main content
GET
Current user, workspace and role

Authorizations

hookie_session
string
cookie
required

The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.

Response

The signed-in user, the resolved workspace (tenant) and the caller effective role. workspaceSlug is the first path segment of a public webhook URL.

user
object
required
tenantId
string
required
role
enum<string>
required

For an OAuth-connected agent this is the membership role already clipped to the granted scopes.

Available options:
owner,
admin,
developer,
viewer,
member
plan
enum<string>
required
Available options:
free,
standard,
team
workspaceSlug
string | null
required
platform_admin
boolean
required