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

# Study Status

> Whether study mode is enabled and whether the caller has finished it.

Intentionally NOT gated by ``_require_enabled`` so the UI can read
``enabled=false`` and hide the entry point rather than getting a 404.



## OpenAPI

````yaml /openapi.json get /api/study/status
openapi: 3.1.0
info:
  title: HAI-Co² API
  description: Human-AI Co-Construction reference implementation.
  version: 0.1.0
servers:
  - url: https://haico.gr
    description: Production
  - url: https://dev.haico.gr
    description: Development
  - url: http://localhost:8000
    description: Local development
security: []
paths:
  /api/study/status:
    get:
      tags:
        - Study
      summary: Study Status
      description: |-
        Whether study mode is enabled and whether the caller has finished it.

        Intentionally NOT gated by ``_require_enabled`` so the UI can read
        ``enabled=false`` and hide the entry point rather than getting a 404.
      operationId: study_status_api_study_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StudyStatusResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    StudyStatusResponse:
      properties:
        enabled:
          type: boolean
          title: Enabled
        completed:
          type: boolean
          title: Completed
      type: object
      required:
        - enabled
        - completed
      title: StudyStatusResponse
      description: >-
        Lightweight study eligibility for the caller (drives the UI entry
        point).


        Works even when study mode is disabled (reports ``enabled=false``), so
        the

        frontend can decide whether to surface the invite/notification.
  securitySchemes:
    HTTPBearer:
      type: http
      description: >-
        A personal access token (`haico_pat_...`), created under Profile → API
        keys. Send it as `Authorization: Bearer <key>`. The browser session JWT
        is also accepted but is an internal mechanism and is not part of the
        public contract.
      scheme: bearer

````