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

# Get User Sessions

> List all chat sessions for current user

Returns list of sessions with last activity and message counts



## OpenAPI

````yaml /openapi.json get /v1/users/me/sessions
openapi: 3.1.0
info:
  title: Universal Document AI API
  description: AI-powered document editing with multi-tenant organization support
  version: 2.0.0
servers: []
security: []
paths:
  /v1/users/me/sessions:
    get:
      tags:
        - users
      summary: Get User Sessions
      description: |-
        List all chat sessions for current user

        Returns list of sessions with last activity and message counts
      operationId: get_user_sessions_v1_users_me_sessions_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/UserSessionResponse'
                type: array
                title: Response Get User Sessions V1 Users Me Sessions Get
      security:
        - HTTPBearer: []
components:
  schemas:
    UserSessionResponse:
      properties:
        session_id:
          type: string
          title: Session Id
          description: Unique session identifier.
        last_message_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Message At
          description: ISO 8601 timestamp of the most recent message.
        message_count:
          type: integer
          title: Message Count
          description: Total number of messages in this session.
      type: object
      required:
        - session_id
        - message_count
      title: UserSessionResponse
      description: Summary of a user's chat session.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````