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

# Runtime Publish

> Publish one bounded event from a deployed server using its project-and-environment-scoped runtime token.



## OpenAPI

````yaml /openapi.json post /v1/runtime/realtime/{channelName}/events
openapi: 3.1.0
info:
  title: Korve API
  version: 0.1.0
  description: >-
    Typed control plane for deploying applications and explicitly provisioning
    their managed infrastructure.
servers:
  - url: https://api.korve.dev
security: []
paths:
  /v1/runtime/realtime/{channelName}/events:
    post:
      tags:
        - realtime
      summary: Runtime Publish
      description: >-
        Publish one bounded event from a deployed server using its
        project-and-environment-scoped runtime token.
      operationId: realtime.runtimePublish
      parameters:
        - name: channelName
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        x-korve-max-bytes: 65536
        content:
          application/json:
            schema:
              type: object
              properties:
                event:
                  type: string
                  minLength: 1
                  maxLength: 128
                  pattern: ^[A-Za-z][A-Za-z0-9._:-]*$
                data:
                  description: JSON event payload.
                idempotencyKey:
                  type: string
                  minLength: 1
                  maxLength: 128
              required:
                - event
                - data
              additionalProperties: false
      responses:
        '202':
          description: Event accepted.
          content:
            application/json:
              schema:
                type: object
                properties:
                  messageId:
                    type: string
                  sequence:
                    type: integer
                  acceptedAt:
                    type: string
                    format: date-time
                required:
                  - messageId
                  - sequence
                  - acceptedAt
                additionalProperties: false
        '401':
          description: Runtime token invalid or outside this environment.
        '404':
          description: No such channel in the runtime environment.
        '409':
          description: Channel is paused or unavailable.
        '413':
          description: Encoded event exceeds 65,536 bytes.
        '429':
          description: Channel message-rate quota reached.
      security:
        - appService: []
components:
  securitySchemes:
    appService:
      type: http
      scheme: bearer
      bearerFormat: korve_app_service

````