> ## Documentation Index
> Fetch the complete documentation index at: https://api-documentation.kare-app.fr/llms.txt
> Use this file to discover all available pages before exploring further.

# Get boauthget session

> Get the current session



## OpenAPI

````yaml /api/bo/openapi.json get /bo/auth/get-session
openapi: 3.0.3
info:
  title: KARE API
  description: Backend API for the KARE platform
  version: dev
servers:
  - url: http://localhost:3000
    description: Local dev
security: []
tags:
  - name: better-auth
    description: >-
      Better Auth's own endpoints (sign-in, session, MFA, password) - generated
      from the audience's live config via `generateOpenAPISchema()`, not
      hand-written.
paths:
  /bo/auth/get-session:
    get:
      tags:
        - better-auth
      description: Get the current session
      operationId: betterAuthGetSessionBOV1
      parameters: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  session:
                    type: object
                    properties:
                      id:
                        type: string
                        readOnly: true
                      expiresAt:
                        type: string
                        format: date-time
                      token:
                        type: string
                      createdAt:
                        type: string
                        format: date-time
                      updatedAt:
                        type: string
                        format: date-time
                      ipAddress:
                        type: string
                      userAgent:
                        type: string
                      userId:
                        type: string
                      activeOrganizationId:
                        type: string
                    required:
                      - id
                      - expiresAt
                      - token
                      - createdAt
                      - updatedAt
                      - userId
                  user:
                    type: object
                    properties:
                      id:
                        type: string
                        readOnly: true
                      name:
                        type: string
                      email:
                        type: string
                      emailVerified:
                        type: boolean
                        default: false
                        readOnly: true
                      image:
                        type: string
                      createdAt:
                        type: string
                        format: date-time
                      updatedAt:
                        type: string
                        format: date-time
                      twoFactorEnabled:
                        type: boolean
                        default: false
                        readOnly: true
                      lang:
                        type: string
                        readOnly: true
                    required:
                      - id
                      - name
                      - email
                      - emailVerified
                      - createdAt
                      - updatedAt
                required:
                  - session
                  - user
                nullable: true
        '400':
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                  - message
          description: >-
            Bad Request. Usually due to missing parameters, or invalid
            parameters.
        '401':
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                  - message
          description: Unauthorized. Due to missing or invalid authentication.
        '403':
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
          description: >-
            Forbidden. You do not have permission to access this resource or to
            perform this action.
        '404':
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
          description: Not Found. The requested resource was not found.
        '429':
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
          description: >-
            Too Many Requests. You have exceeded the rate limit. Try again
            later.
        '500':
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
          description: >-
            Internal Server Error. This is a problem with the server that you
            cannot fix.
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Bearer token authentication

````