openapi: 3.0.3
info:
  title: EventBridge API
  description: Secure webhook and event processing platform.
  version: 1.0.0

servers:
  - url: https://grafmon.ftp.sh

paths:

  /status:
    get:
      summary: Service health check
      responses:
        '200':
          description: OK

  /api/v1/events:
    post:
      summary: Submit event
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                event_type:
                  type: string
                payload:
                  type: object
      responses:
        '202':
          description: Event accepted

  /api/v1/health:
    get:
      summary: Internal health endpoint
      responses:
        '200':
          description: Service operational
