Skip to main content

Get Profile

GET 

/api/auth/profile

Returns the authenticated user's profile information along with a top-level is_production_server flag indicating whether the server is running in production (used by the SPA to gate sandbox-environment UI affordances).

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Authentication: Requires Bearer token.

Response flags:

  • is_production_server (boolean) — true when this pod is the production environment.
  • features (object) — per-account feature-flag map (same as GET /api/features); each value is a boolean.

Request

Responses

OK

Response Headers
    Content-Type