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

# List Sessions

> List active sessions for an app. Requires developer auth + app ownership.



## OpenAPI

````yaml https://api.getfloo.com/openapi.json get /v1/auth/sessions
openapi: 3.1.0
info:
  title: floo API
  version: 0.1.0
servers:
  - url: https://api.getfloo.com
security: []
paths:
  /v1/auth/sessions:
    get:
      tags:
        - sessions
      summary: List Sessions
      description: >-
        List active sessions for an app. Requires developer auth + app
        ownership.
      operationId: sessions_list_sessions
      parameters:
        - name: app_id
          in: query
          required: true
          schema:
            type: string
            format: uuid
            title: App Id
        - $ref: '#/components/parameters/X-Floo-Org-Id'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionListResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  parameters:
    X-Floo-Org-Id:
      name: X-Floo-Org-Id
      in: header
      required: false
      schema:
        type: string
        format: uuid
      description: Organization to act in; defaults to the one joined most recently.
  schemas:
    SessionListResponse:
      properties:
        sessions:
          items:
            $ref: '#/components/schemas/SessionListItem'
          type: array
          title: Sessions
        total:
          type: integer
          title: Total
      type: object
      required:
        - sessions
        - total
      title: SessionListResponse
      description: Response for GET /v1/auth/sessions.
    ErrorResponse:
      properties:
        detail:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - detail
      title: ErrorResponse
      description: Body of every error response except request validation (422).
    SessionListItem:
      properties:
        public_id:
          type: string
          format: uuid
          title: Public Id
        session_type:
          type: string
          title: Session Type
        email:
          anyOf:
            - type: string
            - type: 'null'
          title: Email
        created_at:
          type: string
          format: date-time
          title: Created At
        last_seen_at:
          type: string
          format: date-time
          title: Last Seen At
        expires_at:
          type: string
          format: date-time
          title: Expires At
      type: object
      required:
        - public_id
        - session_type
        - email
        - created_at
        - last_seen_at
        - expires_at
      title: SessionListItem
      description: A single session in the list response.
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
      additionalProperties: true
      type: object
      required:
        - code
        - message
      title: ErrorDetail
      description: Standard error envelope with operation-specific JSON context.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A `floo_` API key.

````

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