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

# Get the calling account's identity and profile



## OpenAPI

````yaml https://us.console.entire.io/api/v1/openapi.json get /me
openapi: 3.1.0
info:
  description: >-
    Entire control plane: identity, orgs, projects, repos, mirrors, service
    accounts.
  title: Entire Core API
  version: 1.0.0
servers:
  - url: https://us.console.entire.io/api/v1
security: []
tags:
  - name: identity
    x-group: Account
  - name: orgs
    x-group: Organizations
  - name: projects
    x-group: Projects
  - name: repos
    x-group: Repositories
  - name: clusters
    x-group: Clusters
paths:
  /me:
    get:
      tags:
        - identity
      summary: Get the calling account's identity and profile
      operationId: getMe
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMeOutputBody'
          description: OK
        '400':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Bad Request
        '401':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Unauthorized
        '403':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Forbidden
        '500':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Internal Server Error
      security:
        - oauth2: []
        - oidc: []
        - bearerAuth: []
        - sessionAuth: []
components:
  schemas:
    GetMeOutputBody:
      additionalProperties: true
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
            - /api/v1/schemas/GetMeOutputBody.json
          format: uri
          readOnly: true
          type: string
        auth:
          $ref: '#/components/schemas/MeAuth'
        deletion:
          $ref: '#/components/schemas/MeDeletion'
          description: >-
            Present only when a deletion is pending; carries the cooldown
            window.
        global:
          $ref: '#/components/schemas/MeGlobal'
        jurisdiction:
          type: string
        mode:
          enum:
            - global
            - regional
          type: string
        regional:
          $ref: '#/components/schemas/MeRegional'
        regionalUnavailable:
          $ref: '#/components/schemas/MeRegionalUnavailable'
      required:
        - global
        - auth
      type: object
    ErrorModel:
      additionalProperties: true
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
            - /api/v1/schemas/ErrorModel.json
          format: uri
          readOnly: true
          type: string
        detail:
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
          examples:
            - Property foo is required but is missing.
          type: string
        errors:
          description: Optional list of individual error details
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
        instance:
          description: >-
            A URI reference that identifies the specific occurrence of the
            problem.
          examples:
            - https://example.com/error-log/abc123
          format: uri
          type: string
        status:
          description: HTTP status code
          examples:
            - 400
          format: int64
          type: integer
        title:
          description: >-
            A short, human-readable summary of the problem type. This value
            should not change between occurrences of the error.
          examples:
            - Bad Request
          type: string
        type:
          default: about:blank
          description: A URI reference to human-readable documentation for the error.
          examples:
            - https://example.com/errors/example
          format: uri
          type: string
      type: object
    MeAuth:
      additionalProperties: true
      properties:
        provider:
          type: string
        providerUserId:
          type: string
      required:
        - provider
        - providerUserId
      type: object
    MeDeletion:
      additionalProperties: true
      properties:
        cooldownEndsAt:
          description: >-
            When the cooldown elapses and the account becomes eligible for
            irreversible hard-deletion.
          format: date-time
          type: string
        requestedAt:
          description: When deletion was requested (deletion_requested_at).
          format: date-time
          type: string
      required:
        - requestedAt
        - cooldownEndsAt
      type: object
    MeGlobal:
      additionalProperties: true
      properties:
        accountId:
          type: string
        avatarUrl:
          type: string
        createdAt:
          description: When the account was created (accounts.created_at).
          format: date-time
          type: string
        displayName:
          description: >-
            The account-level Display Name: provider-asserted, not
            user-editable. Null until seeded. Distinct from
            regional.displayName, the free-editable provider-login mirror.
          type: string
        handle:
          type: string
        handles:
          items:
            $ref: '#/components/schemas/MeIdentityHandle'
          type: array
        homeJurisdiction:
          type: string
        username:
          description: The account's Entire username. Empty until claimed.
          type: string
      required:
        - accountId
        - createdAt
        - handles
      type: object
    MeRegional:
      additionalProperties: true
      properties:
        bio:
          type: string
        company:
          type: string
        displayName:
          type: string
        email:
          type: string
        location:
          type: string
        providerEmails:
          additionalProperties:
            type: string
          type: object
      type: object
    MeRegionalUnavailable:
      additionalProperties: true
      properties:
        error:
          description: >-
            Always 'foreign_jurisdiction'. Discriminator for client-side state
            machines.
          enum:
            - foreign_jurisdiction
          type: string
        homeCoreUrl:
          description: >-
            Origin of the account's home core — its OIDC issuer, e.g.
            'https://us.auth.entire.io'. Not a browser link and not the console.
          type: string
        jurisdiction:
          description: The account's home jurisdiction (e.g. 'us', 'eu').
          type: string
        message:
          description: Human-readable copy ready to surface in a UI.
          type: string
      required:
        - error
        - jurisdiction
        - homeCoreUrl
        - message
      type: object
    ErrorDetail:
      additionalProperties: true
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
    MeIdentityHandle:
      additionalProperties: true
      properties:
        email:
          description: >-
            The provider's publicly-visible profile email (from the provider at
            login; may be empty). NOT the account's contact email.
          type: string
        handle:
          type: string
        provider:
          type: string
        providerUserId:
          type: string
      required:
        - provider
        - handle
        - providerUserId
      type: object
  securitySchemes:
    oauth2:
      description: >-
        Authorization code flow with PKCE-S256. RFC 8628 device flow is also
        supported.
      flows:
        authorizationCode:
          authorizationUrl: /authorize
          scopes:
            offline_access: Request a refresh token.
            openid: Authenticate using OpenID Connect.
          tokenUrl: /oauth/token
      type: oauth2
    oidc:
      description: OpenID Connect discovery for browser and RFC 8628 device authentication.
      openIdConnectUrl: /.well-known/openid-configuration
      type: openIdConnect
    bearerAuth:
      bearerFormat: JWT
      description: Bearer access token.
      scheme: bearer
      type: http
    sessionAuth:
      description: Console session cookie issued by the browser login flow.
      in: cookie
      name: entire_session
      type: apiKey

````