> ## Documentation Index
> Fetch the complete documentation index at: https://docs.causeloop.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Me

> Resolve current user + workspace + role + permissions.

Called exactly once on app boot by every protected layout.
Also used by SSO callback to decide routing (/dashboard vs /onboarding).



## OpenAPI

````yaml /openapi.json get /v1/auth/me
openapi: 3.1.0
info:
  description: Causeloop Platform Backend
  title: Causeloop API
  version: 1.0.0
servers: []
security: []
paths:
  /v1/auth/me:
    get:
      tags:
        - auth
      summary: Me
      description: |-
        Resolve current user + workspace + role + permissions.

        Called exactly once on app boot by every protected layout.
        Also used by SSO callback to decide routing (/dashboard vs /onboarding).
      operationId: me_v1_auth_me_get
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app__routers__auth__MeResponse'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    app__routers__auth__MeResponse:
      properties:
        feature_flags:
          additionalProperties:
            type: boolean
          default: {}
          title: Feature Flags
          type: object
        impersonation:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Impersonation
        membership:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Membership
        onboarding_complete:
          default: true
          title: Onboarding Complete
          type: boolean
        organization:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Organization
        permissions:
          items:
            type: string
          title: Permissions
          type: array
        user:
          additionalProperties: true
          title: User
          type: object
        workspace:
          additionalProperties: true
          title: Workspace
          type: object
      required:
        - user
        - workspace
        - membership
        - permissions
      title: MeResponse
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````