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

# Get Basic user data

> Endpoint to get basic user data.



## OpenAPI

````yaml https://api.hyperspell.com/openapi.json get /auth/me
openapi: 3.1.0
info:
  title: Hyperspell API
  summary: >-
    Hyperspell is the memory layer for AI apps and agents. Through the API, you
    can add memories, connect data sources to index them in real-time, and
    search memories with our natural language query engine.
  termsOfService: https://hyperspell.com/blog/tos
  contact:
    name: Hyperspell
    url: https://hyperspell.com/
    email: hello@hyperspell.com
  version: 0.32.1
servers:
  - url: https://api.hyperspell.com
    description: Production
security: []
paths:
  /auth/me:
    get:
      tags:
        - Authentication
      summary: Get Basic user data
      description: Endpoint to get basic user data.
      operationId: user_info_auth_me_get
      parameters:
        - name: X-As-User
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Optionally set this header to act as a specific user when using an
              API Key, equivalent to first exchanging the API Key for a User
              Token
            title: X-As-User
          description: >-
            Optionally set this header to act as a specific user when using an
            API Key, equivalent to first exchanging the API Key for a User Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKey: []
components:
  schemas:
    User:
      properties:
        id:
          type: string
          title: Id
          description: The user's id
        app:
          $ref: '#/components/schemas/AppInfo'
          description: The Hyperspell app's id this user belongs to
        available_integrations:
          items:
            $ref: '#/components/schemas/DocumentProviders'
          type: array
          title: Available Integrations
          description: All integrations available for the app
        installed_integrations:
          items:
            $ref: '#/components/schemas/DocumentProviders'
          type: array
          title: Installed Integrations
          description: All integrations installed for the user
        token_expiration:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Token Expiration
          description: The expiration time of the user token used to make the request
      type: object
      required:
        - id
        - app
        - available_integrations
        - installed_integrations
        - token_expiration
      title: User
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AppInfo:
      properties:
        id:
          type: string
          title: Id
          description: The Hyperspell app's id this user belongs to
        name:
          type: string
          title: Name
          description: The app's name
        icon_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Icon Url
          description: The app's icon
        redirect_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Redirect Url
          description: The app's redirect URL
      type: object
      required:
        - id
        - name
        - icon_url
        - redirect_url
      title: AppInfo
    DocumentProviders:
      type: string
      enum:
        - reddit
        - notion
        - slack
        - google_calendar
        - google_mail
        - imap
        - google_meet
        - box
        - dropbox
        - github
        - gitlab
        - google_drive
        - vault
        - web_crawler
        - trace
        - microsoft_outlook
        - onedrive
        - microsoft_teams
        - granola
        - fathom
        - fireflies
        - figma
        - linear
        - hubspot
        - salesforce
        - coda
        - confluence
        - jira
        - metabase
        - gong
        - clickup
        - lightfield
        - pylon
        - fellow
        - odoo
        - attio
        - external_mcp
        - page
      title: DocumentProviders
    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:
    APIKey:
      type: http
      description: >-
        API Key or JWT User Token. If using an API Key, set the X-As-User header
        to act as a specific user. A JWT User Token is always scoped to a
        specific user.
      scheme: bearer
      bearerFormat: Bearer <token>

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.