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

# Get a seat type by ID

> Retrieves the details for a single seat type by its unique identifier.
This is a public endpoint and does not require authentication.




## OpenAPI

````yaml api-reference/openapi.json get /api/seat-types/{seat_type_id}
openapi: 3.0.0
info:
  title: Tandem IT API
  version: 1.0.0
  description: API for tandem it backend
servers:
  - url: https://tandem.hlofiys.xyz
    description: Production server
security: []
tags:
  - name: Documentation
    description: API documentation endpoint
paths:
  /api/seat-types/{seat_type_id}:
    parameters:
      - name: seat_type_id
        in: path
        required: true
        schema:
          type: integer
          format: int64
    get:
      tags:
        - Seat Types
      summary: Get a seat type by ID
      description: |
        Retrieves the details for a single seat type by its unique identifier.
        This is a public endpoint and does not require authentication.
      operationId: getSeatType
      responses:
        '200':
          description: >-
            Successful response. Contains complete information about the seat
            type corresponding to the specified ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SeatType'
        '404':
          description: The seat type with the specified ID was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    SeatType:
      type: object
      required:
        - seat_type_id
        - name
        - price
        - seat_color
        - hall_id
      properties:
        seat_type_id:
          type: integer
          format: int64
          description: Unique seat type ID
        name:
          type: string
          description: Seat type name
        price:
          type: string
          description: Cost of place. Passed as a string to preserve precision
          example: '99.90'
        seat_color:
          $ref: '#/components/schemas/HexColor'
        hall_id:
          type: integer
          format: int64
          description: Unique hall ID
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string
    HexColor:
      type: string
      description: Color in 6-digit or 3-digit HEX format, starting with '#'
      pattern: ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
      example: '#4A90E2'

````