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

# List service types

> Returns the distinct service types observed across served slots, each with a `count` — a discovery aid for the `serviceTypeCode` filter on `GET /v1/scheduling/slots`. Requires a valid API key.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/scheduling/service-types
openapi: 3.1.0
info:
  title: haau3 Platform API
  version: 1.0.0
  description: >-
    The haau3 platform API (non-PHI). Endpoints require a free API key — send it
    as `Authorization: Bearer <key>`. Requests without a valid key return 401.
    Create a key in the dashboard at https://platform.haau3.com.
servers:
  - url: https://api.haau3.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Scheduling
    description: Provider availability (SMART Scheduling Links) — slots and publishers.
  - name: Terminology
    description: FHIR terminology operations — CodeSystem lookups against LOINC.
  - name: Provider directory
    description: >-
      FHIR Practitioner and PractitionerRole, resolved from the national
      provider directory. Resolution, not discovery: bring an NPI and get what
      the directory publishes for it.
paths:
  /v1/scheduling/service-types:
    get:
      tags:
        - Scheduling
      summary: List service types
      description: >-
        Returns the distinct service types observed across served slots, each
        with a `count` — a discovery aid for the `serviceTypeCode` filter on
        `GET /v1/scheduling/slots`. Requires a valid API key.
      operationId: listServiceTypes
      responses:
        '200':
          description: The distinct service types across served slots.
          content:
            application/json:
              schema:
                type: object
                properties:
                  serviceTypes:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                        display:
                          type: string
                        count:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                      required:
                        - count
                      additionalProperties: false
                required:
                  - serviceTypes
                additionalProperties: false
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthError'
components:
  schemas:
    AuthError:
      type: object
      properties:
        error:
          type: string
          examples:
            - API key required
        message:
          type: string
      required:
        - error
        - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your platform API key (`haau3_sk_…`), sent as `Authorization: Bearer
        <key>`.

````