> ## 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.

# Get Session

> Return metadata about the current session derived from the bearer token.

Useful for diagnostics and the impersonation banner.



## OpenAPI

````yaml /openapi.json get /v1/auth/session
openapi: 3.1.0
info:
  description: Causeloop Platform Backend
  title: Causeloop API
  version: 1.0.0
servers: []
security: []
paths:
  /v1/auth/session:
    get:
      tags:
        - auth
      summary: Get Session
      description: |-
        Return metadata about the current session derived from the bearer token.

        Useful for diagnostics and the impersonation banner.
      operationId: get_session_v1_auth_session_get
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionResponse'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    SessionResponse:
      properties:
        expires_at:
          title: Expires At
          type: string
        issued_at:
          title: Issued At
          type: string
        role:
          title: Role
          type: string
        scopes:
          items:
            type: string
          title: Scopes
          type: array
        session_id:
          title: Session Id
          type: string
        user_id:
          title: User Id
          type: string
        workspace_id:
          title: Workspace Id
          type: string
      required:
        - session_id
        - user_id
        - workspace_id
        - role
        - scopes
        - issued_at
        - expires_at
      title: SessionResponse
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````