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

# Complete Session

> Marks a session as completed



## OpenAPI

````yaml POST /bookings/complete-session
openapi: 3.1.0
info:
  title: Tatu API
  description: API documentation for Tatu's booking and artist management system
  version: 1.0.0
servers:
  - url: http://localhost:3000/api
    description: Development server
security: []
paths:
  /bookings/complete-session:
    post:
      summary: Complete Session
      description: Marks a session as completed
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompleteSessionRequest'
      responses:
        '200':
          description: Session completed successfully
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                properties:
                  success:
                    type: boolean
                    description: Whether the operation was successful
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden - Not authorized to complete session
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    CompleteSessionRequest:
      type: object
      required:
        - bookingId
        - sessionNumber
      properties:
        bookingId:
          type: string
          description: The ID of the booking
        sessionNumber:
          type: number
          description: The number of the session to complete
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string

````