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

# Get Me

> Get the current user's membership record for an organization.

Returns the authenticated user's role, status, email, and LLM override
fields (with masked API keys) within the specified organization.

Args:
    org_id: Organization ID (UUID)
    user_id: Authenticated user ID (injected by dependency)

Returns:
    MeResponse: The user's membership data

Raises:
    HTTPException: 404 if user is not a member or org doesn't exist
    HTTPException: 500 if retrieval fails



## OpenAPI

````yaml /openapi/openhands-cloud.json get /api/organizations/{org_id}/me
openapi: 3.1.0
info:
  title: OpenHands
  description: 'OpenHands: Code Less, Make More'
  version: 0.0.1
servers: []
security: []
paths:
  /api/organizations/{org_id}/me:
    get:
      tags:
        - Orgs
      summary: Get Me
      description: |-
        Get the current user's membership record for an organization.

        Returns the authenticated user's role, status, email, and LLM override
        fields (with masked API keys) within the specified organization.

        Args:
            org_id: Organization ID (UUID)
            user_id: Authenticated user ID (injected by dependency)

        Returns:
            MeResponse: The user's membership data

        Raises:
            HTTPException: 404 if user is not a member or org doesn't exist
            HTTPException: 500 if retrieval fails
      operationId: get_me_api_organizations__org_id__me_get
      parameters:
        - name: org_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Org Id
        - name: X-Org-Id
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Org-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    MeResponse:
      properties:
        org_id:
          type: string
          title: Org Id
        user_id:
          type: string
          title: User Id
        email:
          type: string
          title: Email
        role:
          type: string
          title: Role
        permissions:
          items:
            type: string
          type: array
          title: Permissions
        llm_api_key:
          type: string
          title: Llm Api Key
        llm_api_key_for_byor:
          anyOf:
            - type: string
            - type: 'null'
          title: Llm Api Key For Byor
        agent_settings_diff:
          additionalProperties: true
          type: object
          title: Agent Settings Diff
        conversation_settings_diff:
          additionalProperties: true
          type: object
          title: Conversation Settings Diff
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
      type: object
      required:
        - org_id
        - user_id
        - email
        - role
        - llm_api_key
      title: MeResponse
      description: |-
        Response model for the current user's membership in an organization.

        ``agent_settings_diff`` and ``conversation_settings_diff`` carry the
        member-level overrides on top of the organization defaults.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-Access-Token

````