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

# Seats taken right now

> For polling while the picker is open.



## OpenAPI

````yaml /api-reference/openapi.json get /api/events/public/{slug}/seating/occupancy
openapi: 3.0.0
info:
  title: UnderPass Public API
  version: 1.3.0
  description: >-
    Public API for browsing events and selling tickets on the UnderPass
    platform. Build a custom event landing or checkout on your own domain: list
    events, reserve tickets at selection, sell numbered seats, run a waiting
    room, start a checkout and poll the order. Everything added since 1.0 is
    optional and opt-in per event; a storefront built against 1.0 keeps working.
  contact:
    name: UnderPass Engineering
    email: developers@underpass.com.co
    url: https://underpass.com.co
servers:
  - url: https://api.underpass.com.co
    description: Production
  - url: https://api-dev.underpass.com.co
    description: Development
security: []
paths:
  /api/events/public/{slug}/seating/occupancy:
    get:
      tags:
        - Events
      summary: Seats taken right now
      description: For polling while the picker is open.
      operationId: getPublicSeatOccupancy
      parameters:
        - name: slug
          in: path
          required: true
          schema:
            type: string
        - name: performance_id
          in: query
          required: false
          schema:
            type: string
          description: Required on multi-date events.
      responses:
        '200':
          description: Occupancy
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SeatOccupancyDto'
        '404':
          description: '`EVENT_NOT_FOUND` / `SEATING_CHART_NOT_FOUND`'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDto'
components:
  schemas:
    SeatOccupancyDto:
      type: object
      properties:
        performance_id:
          type: string
        taken:
          type: object
          additionalProperties:
            type: string
            enum:
              - HELD
              - SOLD
              - BLOCKED
          description: '`seat_id` → status. Free seats are absent.'
        as_of:
          type: string
          format: date-time
    ErrorDto:
      type: object
      properties:
        statusCode:
          type: integer
        code:
          type: string
          description: Stable identifier to match on.
        message:
          type: string
        detail:
          type: object
          additionalProperties: true
        timestamp:
          type: string
          format: date-time

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.