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

# Get Flow Me

> Protected health check for Flow product access.



## OpenAPI

````yaml /api-reference/openapi.fr.json get /flow/me
openapi: 3.1.0
info:
  title: UBIK Public API
  description: Publicly accessible API endpoints for UBIK.
  version: '1.0'
servers:
  - url: https://app.ubik-agent.com/api/v1
    description: Production Server
security: []
paths:
  /flow/me:
    get:
      tags:
        - flow
      summary: Get Flow Me
      description: Protected health check for Flow product access.
      operationId: get_flow_me_flow_me_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlowMeResponse'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    FlowMeResponse:
      properties:
        user_id:
          type: integer
          title: User Id
        email:
          type: string
          title: Email
        flow:
          $ref: '#/components/schemas/ProductAccessStatus'
          description: Current Flow subscription access state.
      type: object
      required:
        - user_id
        - email
        - flow
      title: FlowMeResponse
    ProductAccessStatus:
      properties:
        has_access:
          type: boolean
          title: Has Access
          description: True si l'utilisateur a accès au produit.
        status:
          type: string
          enum:
            - none
            - trialing
            - active
            - past_due
            - canceled
            - unpaid
            - inactive
          title: Status
          description: Statut Stripe normalisé, ou 'none' si jamais abonné.
        plan_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Plan Name
          description: Plan actif. Null si aucun abonnement.
        trial_end:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Trial End
        current_period_end:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Current Period End
        canceled_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Canceled At
          description: Set when cancellation is scheduled or completed.
        is_stripe_managed:
          type: boolean
          title: Is Stripe Managed
          description: True when billing is tied to a Stripe subscription (self-service).
          default: false
      type: object
      required:
        - has_access
        - status
      title: ProductAccessStatus
      description: État d'accès à un produit UBIK (Flow, futurs produits, etc.).
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: /api/internal/v1/token

````