Identity

Current principal, organizations and scopes

get/me

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/me
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Response

The caller

principal'session' | 'api_token' | 'mcp_token' required
scopesstring[] required

effective scopes for token principals; role-derived scopes for sessions

isOperatorboolean required

Always false. Kept for compatibility: whether an account is a platform operator is never disclosed to a customer session, key or token; the operator console has its own sign-in (docs/OPERATOR.md "Admin sign-in")

Changes

No recorded changes to this operation across all 1 revision of this API.