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

# Verfügbare Optionen pro Land

> Liefert pro Land den Default-Filter-Block **und** die gültigen
Auswahlwerte (Bundesländer, Gerichte, documentTypes, Flags), damit ein
Selektor gebaut werden kann. Anfangs nur `AT` befüllt.




## OpenAPI

````yaml /openapi.yaml get /rechtstipp/options
openapi: 3.1.0
info:
  title: LexGPT Partner API
  version: 1.0.0
  description: >
    Öffentliche API für Partner-Integrationen. Aktuell zwei Kern-Funktionen:


    - **Rechtstipp generieren** — Thema rein, recherchierter SEO-Artikel mit
      verlinkten Paragraphen raus.
    - **Feedback** — Rückmeldung zu generierten Rechtstipps (und weiteren
    Inhalten).


    Diese Doku beschreibt nur die öffentliche Partner-Fläche. Interne Endpunkte

    (Recherche-Chat, Admin) sind bewusst nicht Teil des Vertrags.


    Aktuell ist nur **AT** freigeschaltet; `DE`/`CH` sind auf der Roadmap

    (Anfragen liefern bis dahin `400`).
servers:
  - url: https://app.lex-gpt.ai/api
    description: Produktion
security:
  - bearerAuth: []
tags:
  - name: Rechtstipp
    description: Artikel-Generierung
  - name: Feedback
    description: Rückmeldungen
paths:
  /rechtstipp/options:
    get:
      tags:
        - Rechtstipp
      summary: Verfügbare Optionen pro Land
      description: |
        Liefert pro Land den Default-Filter-Block **und** die gültigen
        Auswahlwerte (Bundesländer, Gerichte, documentTypes, Flags), damit ein
        Selektor gebaut werden kann. Anfangs nur `AT` befüllt.
      operationId: getRechtstippOptions
      parameters:
        - name: country
          in: query
          required: false
          schema:
            type: string
            enum:
              - AT
              - DE
              - CH
            default: AT
      responses:
        '200':
          description: Default + Auswahlwerte
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OptionsResponse'
        '400':
          description: Land nicht freigeschaltet
components:
  schemas:
    OptionsResponse:
      type: object
      properties:
        country:
          type: string
          example: AT
        default:
          $ref: '#/components/schemas/FilterConfig'
        options:
          type: object
          description: Gültige Auswahlwerte je Feld (Label + Wert).
          properties:
            geographic:
              type: array
              description: Geltungsbereich (Bundesrecht + Bundesländer, ASCII-Slugs).
              items:
                type: object
                properties:
                  value:
                    type: string
                  label:
                    type: string
            courts:
              type: array
              description: Höchstgerichte (Judikatur-Filter).
              items:
                type: object
                properties:
                  value:
                    type: string
                  label:
                    type: string
            documentTypes:
              type: array
              description: DEPRECATED — bewusst leer.
              items:
                type: object
            flags:
              type: array
              description: Inhaltstyp-Toggles (legislation/judikatur/eurlex).
              items:
                type: object
                properties:
                  value:
                    type: string
                  label:
                    type: string
    FilterConfig:
      type: object
      description: Retrieval-Scope (Jurisdiktion etc.). Wird weggelassen → Land-Default.
      properties:
        geographic:
          type: array
          items:
            type: string
          description: z. B. ["bundesrecht"] (AT). Bestimmt die Retrieval-Jurisdiktion.
        legislation:
          type: boolean
          default: true
        judikatur:
          type: boolean
          default: true
        courts:
          type: array
          items:
            type: string
        germanCourts:
          type: array
          items:
            type: string
        swissCantons:
          type: array
          items:
            type: string
        eurlex:
          type: boolean
          default: true
        documentTypes:
          type: array
          items:
            type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: |
        `Authorization: Bearer <TOKEN>`. `<TOKEN>` ist entweder dein
        **Service-Key** (Maschine-zu-Maschine) oder ein **WP-JWT** des Anwalts
        (empfohlen — ergibt Per-Anwalt-Zuordnung). Behandle Keys als Secret;
        niemals in Chats/Slack teilen.

````