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

# Configure GitHub App



## OpenAPI

````yaml /openapi.json post /api/settings/github
openapi: 3.1.0
info:
  title: Konduktor
  version: 0.1.0
servers:
  - url: http://localhost:8080
    description: Local instance (default)
security: []
paths:
  /api/settings/github:
    post:
      tags:
        - settings
      summary: Configure GitHub App
      operationId: configure_github_app_api_settings_github_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GitHubAppConfigRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GitHubAppStatusResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    GitHubAppConfigRequest:
      properties:
        app_id:
          type: integer
          title: App Id
        webhook_secret:
          type: string
          title: Webhook Secret
        pem_content:
          anyOf:
            - type: string
            - type: 'null'
          title: Pem Content
          default: null
      type: object
      required:
        - app_id
        - webhook_secret
      title: GitHubAppConfigRequest
    GitHubAppStatusResponse:
      properties:
        configured:
          type: boolean
          title: Configured
        app_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: App Id
          default: null
        pem_uploaded:
          type: boolean
          title: Pem Uploaded
      type: object
      required:
        - configured
        - pem_uploaded
      title: GitHubAppStatusResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````