> ## 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.

# Get Unavailable Events for Artist

> Retrieves all unavailable events for a specific artist (public endpoint)



## OpenAPI

````yaml GET /unavailable-events/get-unavailable-events-for-artist
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:
  /unavailable-events/get-unavailable-events-for-artist:
    get:
      summary: Get Unavailable Events for Artist
      description: Retrieves all unavailable events for a specific artist (public endpoint)
      parameters:
        - name: artistId
          in: query
          required: true
          schema:
            type: string
          description: The ID of the artist
      responses:
        '200':
          description: Unavailable events retrieved successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UnavailableEvent'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    UnavailableEvent:
      type: object
      properties:
        id:
          type: string
        title:
          type: string
        date:
          type: number
        startTime:
          type: number
        endTime:
          type: number
        artistId:
          type: string
        createdAt:
          type: number
        updatedAt:
          type: number
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string

````