Forta Health Sessions API

The sessions API from Forta Health — 38 operation(s) for sessions.

OpenAPI Specification

forta-health-sessions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fast Sessions API
  version: 0.1.0
tags:
- name: sessions
paths:
  /api/v1/sessions/:
    post:
      tags:
      - sessions
      summary: Create Session
      operationId: create_session_api_v1_sessions__post
      security:
      - HTTPBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SessionCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailedSessionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - sessions
      summary: Get Sessions
      operationId: get_sessions_api_v1_sessions__get
      security:
      - HTTPBearer: []
      parameters:
      - name: client_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Client Id
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
      - name: start
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Start
      - name: end
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: End
      - name: include_qa_stats
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          default: false
          title: Include Qa Stats
      - name: bay
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/Bay'
          - type: 'null'
          title: Bay
      - name: include_participated_only
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          default: false
          title: Include Participated Only
      - name: find_by_provider_id_only
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          default: false
          title: Find By Provider Id Only
      - name: action_required
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          default: false
          title: Action Required
      - name: client_clinical_status
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Client Clinical Status
      - name: pending_parent_signature
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          default: false
          title: Pending Parent Signature
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SessionListResponse'
                title: Response Get Sessions Api V1 Sessions  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/sessions/awaiting_guardian_signature/:
    get:
      tags:
      - sessions
      summary: Get Sessions Awaiting Guardian Signature
      operationId: get_sessions_awaiting_guardian_signature_api_v1_sessions_awaiting_guardian_signature__get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/SessionListResponse'
                type: array
                title: Response Get Sessions Awaiting Guardian Signature Api V1 Sessions Awaiting Guardian
                  Signature  Get
      security:
      - HTTPBearer: []
  /api/v1/sessions/bay7/guardian_signature/:
    post:
      tags:
      - sessions
      summary: Bay7 Guardian Signature
      operationId: bay7_guardian_signature_api_v1_sessions_bay7_guardian_signature__post
      security:
      - HTTPBearer: []
      parameters:
      - name: x-forwarded-for
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Forwarded-For
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Bay7GuardianSignatureRequest'
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/sessions/awaiting_acknowledgement/:
    get:
      tags:
      - sessions
      summary: Get Unacknowledged Sessions
      description: "Returns sessions of which most recent QA review is not acknowledged yet\nRoles Allowed:\
        \ pRBT, BCBA, Admin\nArgs:\n    provider:\nReturns:\n    list[SessionResponse]"
      operationId: get_unacknowledged_sessions_api_v1_sessions_awaiting_acknowledgement__get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/UnacknowledgedSessionsResponse'
                type: array
                title: Response Get Unacknowledged Sessions Api V1 Sessions Awaiting Acknowledgement  Get
      security:
      - HTTPBearer: []
  /api/v1/sessions/claim_history/:
    get:
      tags:
      - sessions
      summary: Get Sessions With Claim History
      description: "Roles Allowed: Clinical QA, Biller, Admin\nArgs:\n    client_id:\n    start:\n   \
        \ end:\n    include_qa_stats:\n    provider:\n    session_model_converter:\n    session_repo:\n\
        \    session_service:\n    clinical_qa_review_repo:\n\nReturns:\n    list[SessionResponseWithClaimStatus]"
      operationId: get_sessions_with_claim_history_api_v1_sessions_claim_history__get
      security:
      - HTTPBearer: []
      parameters:
      - name: start
        in: query
        required: true
        schema:
          type: string
          format: date-time
          title: Start
      - name: end
        in: query
        required: true
        schema:
          type: string
          format: date-time
          title: End
      - name: client_id
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Client Id
      - name: include_qa_stats
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          default: false
          title: Include Qa Stats
      - name: expand
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Expand
      - name: bay
        in: query
        required: false
        schema:
          anyOf:
          - $ref: '#/components/schemas/Bay'
          - type: 'null'
          title: Bay
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SessionListResponseWithClaimHistory'
                title: Response Get Sessions With Claim History Api V1 Sessions Claim History  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/sessions/{session_id}/:
    get:
      tags:
      - sessions
      summary: Get Session
      operationId: get_session_api_v1_sessions__session_id___get
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailedSessionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - sessions
      summary: Patch Session
      operationId: patch_session_api_v1_sessions__session_id___patch
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SessionPatch'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailedSessionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - sessions
      summary: Delete Session
      operationId: delete_session_api_v1_sessions__session_id___delete
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/sessions/{session_id}/stop/:
    put:
      tags:
      - sessions
      summary: Stop Session
      operationId: stop_session_api_v1_sessions__session_id__stop__put
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      - name: x-forwarded-for
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Forwarded-For
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SessionStop'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/sessions/{session_id}/reset_status/:
    patch:
      tags:
      - sessions
      summary: Reset Session Status
      operationId: reset_session_status_api_v1_sessions__session_id__reset_status__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/sessions/{session_id}/clinical_qa_reviews/{clinical_qa_review_id}/pdf_regenerate/:
    put:
      tags:
      - sessions
      summary: Queue To Regenerate Clinical Qa Review Pdf
      description: 'Allows only Admin

        Checks:

        1. Check if clinical qa review exists

        2. Check if clinical qa review status is allowed to generate pdf report'
      operationId: queue_to_regenerate_clinical_qa_review_pdf_api_v1_sessions__session_id__clinical_qa_reviews__clinical_qa_review_id__pdf_regenerate__put
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      - name: clinical_qa_review_id
        in: path
        required: true
        schema:
          type: integer
          title: Clinical Qa Review Id
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/sessions/{session_id}/trials/:
    get:
      tags:
      - sessions
      summary: Get Session Practiced Targets Trials
      operationId: get_session_practiced_targets_trials_api_v1_sessions__session_id__trials__get
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: array
                  items:
                    $ref: '#/components/schemas/app__api__schemas__sessions__trial__TrialResponse'
                title: Response Get Session Practiced Targets Trials Api V1 Sessions  Session Id  Trials  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - sessions
      summary: Create Trial
      operationId: create_trial_api_v1_sessions__session_id__trials__post
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TrialCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app__api__schemas__sessions__trial__TrialResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/sessions/{session_id}/trials/{trial_id}/:
    patch:
      tags:
      - sessions
      summary: Patch Trial
      operationId: patch_trial_api_v1_sessions__session_id__trials__trial_id___patch
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      - name: trial_id
        in: path
        required: true
        schema:
          type: integer
          title: Trial Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/app__api__schemas__sessions__trial__TrialPatch'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app__api__schemas__sessions__trial__TrialResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - sessions
      summary: Delete Trial
      operationId: delete_trial_api_v1_sessions__session_id__trials__trial_id___delete
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      - name: trial_id
        in: path
        required: true
        schema:
          type: integer
          title: Trial Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/sessions/{session_id}/trials/{trial_id}/duration_events/:
    post:
      tags:
      - sessions
      summary: Create Trial Duration Event
      operationId: create_trial_duration_event_api_v1_sessions__session_id__trials__trial_id__duration_events__post
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      - name: trial_id
        in: path
        required: true
        schema:
          type: integer
          title: Trial Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DurationEventCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app__api__schemas__sessions__trial__TrialResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/sessions/{session_id}/trials/{trial_id}/duration_events/{duration_event_id}/:
    patch:
      tags:
      - sessions
      summary: Update Trial Duration Event
      operationId: update_trial_duration_event_api_v1_sessions__session_id__trials__trial_id__duration_events__duration_event_id___patch
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      - name: trial_id
        in: path
        required: true
        schema:
          type: integer
          title: Trial Id
      - name: duration_event_id
        in: path
        required: true
        schema:
          type: integer
          title: Duration Event Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DurationEventPatch'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app__api__schemas__sessions__trial__TrialResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - sessions
      summary: Delete Trial Duration Event
      operationId: delete_trial_duration_event_api_v1_sessions__session_id__trials__trial_id__duration_events__duration_event_id___delete
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      - name: trial_id
        in: path
        required: true
        schema:
          type: integer
          title: Trial Id
      - name: duration_event_id
        in: path
        required: true
        schema:
          type: integer
          title: Duration Event Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app__api__schemas__sessions__trial__TrialResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/sessions/{session_id}/trials/{trial_id}/rate_events/:
    post:
      tags:
      - sessions
      summary: Create Trial Rate Event
      operationId: create_trial_rate_event_api_v1_sessions__session_id__trials__trial_id__rate_events__post
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      - name: trial_id
        in: path
        required: true
        schema:
          type: integer
          title: Trial Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/app__api__schemas__sessions__trial__RateEventCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app__api__schemas__sessions__trial__TrialResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/sessions/{session_id}/trials/{trial_id}/rate_events/{rate_event_id}/:
    patch:
      tags:
      - sessions
      summary: Update Trial Rate Event
      operationId: update_trial_rate_event_api_v1_sessions__session_id__trials__trial_id__rate_events__rate_event_id___patch
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      - name: trial_id
        in: path
        required: true
        schema:
          type: integer
          title: Trial Id
      - name: rate_event_id
        in: path
        required: true
        schema:
          type: integer
          title: Rate Event Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/app__api__schemas__sessions__trial__RateEventPatch'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app__api__schemas__sessions__trial__TrialResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - sessions
      summary: Delete Trial Rate Event
      operationId: delete_trial_rate_event_api_v1_sessions__session_id__trials__trial_id__rate_events__rate_event_id___delete
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      - name: trial_id
        in: path
        required: true
        schema:
          type: integer
          title: Trial Id
      - name: rate_event_id
        in: path
        required: true
        schema:
          type: integer
          title: Rate Event Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app__api__schemas__sessions__trial__TrialResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/sessions/{session_id}/download/:
    get:
      tags:
      - sessions
      summary: Download Session Pdf
      operationId: download_session_pdf_api_v1_sessions__session_id__download__get
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionDownloadPdfResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/sessions/{session_id}/clinical_qa_reviews/{clinical_qa_review_id}/download/:
    get:
      tags:
      - sessions
      summary: Get Clinical Qa Review Pdf
      description: 'Fetch most recent PDF document for a clinical qa review

        PDF is returned as a pre-signed URL'
      operationId: get_clinical_qa_review_pdf_api_v1_sessions__session_id__clinical_qa_reviews__clinical_qa_review_id__download__get
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      - name: clinical_qa_review_id
        in: path
        required: true
        schema:
          type: integer
          title: Clinical Qa Review Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClinicalQAReviewPDFUrl'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/sessions/{session_id}/clinical_qa_reviews/:
    post:
      tags:
      - sessions
      summary: Create Clinical Qa Review
      operationId: create_clinical_qa_review_api_v1_sessions__session_id__clinical_qa_reviews__post
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClinicalQAReviewCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClinicalQAReviewResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/sessions/{session_id}/clinical_qa_reviews/{clinical_qa_review_id}/:
    patch:
      tags:
      - sessions
      summary: Save Clinical Qa Review
      operationId: save_clinical_qa_review_api_v1_sessions__session_id__clinical_qa_reviews__clinical_qa_review_id___patch
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      - name: clinical_qa_review_id
        in: path
        required: true
        schema:
          type: integer
          title: Clinical Qa Review Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClinicalQAReviewSave'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClinicalQAReviewResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - sessions
      summary: Delete Clinical Qa Review
      operationId: delete_clinical_qa_review_api_v1_sessions__session_id__clinical_qa_reviews__clinical_qa_review_id___delete
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      - name: clinical_qa_review_id
        in: path
        required: true
        schema:
          type: integer
          title: Clinical Qa Review Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClinicalQAReviewDeletion'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClinicalQAReviewResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/sessions/{session_id}/clinical_qa_reviews/{clinical_qa_review_id}/stop/:
    put:
      tags:
      - sessions
      summary: Submit Clinical Qa Review
      operationId: submit_clinical_qa_review_api_v1_sessions__session_id__clinical_qa_reviews__clinical_qa_review_id__stop__put
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      - name: clinical_qa_review_id
        in: path
        required: true
        schema:
          type: integer
          title: Clinical Qa Review Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClinicalQAReviewSubmit'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClinicalQAReviewResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/sessions/{session_id}/clinical_qa_reviews/{clinical_qa_review_id}/acknowledge/:
    post:
      tags:
      - sessions
      summary: Acknowledge Clinical Qa Review
      operationId: acknowledge_clinical_qa_review_api_v1_sessions__session_id__clinical_qa_reviews__clinical_qa_review_id__acknowledge__post
      security:
      - HTTPBearer: []
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: integer
          title: Session Id
      - name: clinical_qa_review_id
        in: path
        required: true
        schema:
          type: integer
          title: Clinical Qa Review Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClinicalQAReviewAcknowledge'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClinicalQAReviewRespon

# --- truncated at 32 KB (114 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/forta-health/refs/heads/main/openapi/forta-health-sessions-api-openapi.yml