Skip to main content
Environment-isolated realtime channels with WebSocket broadcast, bounded replay, and ephemeral presence. Live delivery is at most once; retained replay is ordered by channel sequence.

realtime.listChannels

List realtime channels in one project environment.
  • Auth: Organization API key (Authorization: Bearer korve_...) or dashboard session.
  • Minimum role: member
  • Risk: read

Query parameters

Example

Responses

Response body (200)

An array of objects with these fields:

realtime.createChannel

Create a globally routed channel. Retention is disabled by default; enabling it permits bounded ordered replay.
  • Auth: Organization API key (Authorization: Bearer korve_...) or dashboard session.
  • Minimum role: admin
  • Billing: requires active organization billing — returns 402 otherwise.
  • Risk: write

Query parameters

Request body

Example

Responses

Response body (201)

realtime.getChannel

Get channel configuration without credentials.
  • Auth: Organization API key (Authorization: Bearer korve_...) or dashboard session.
  • Minimum role: member
  • Risk: read

Example

Responses

Response body (200)

realtime.updateChannel

Change retention, presence, quotas, or pause state. Reducing retention removes expired replay asynchronously.
  • Auth: Organization API key (Authorization: Bearer korve_...) or dashboard session.
  • Minimum role: admin
  • Billing: requires active organization billing — returns 402 otherwise.
  • Risk: write

Request body

Example

Responses

Response body (200)

realtime.deleteChannel

Permanently close every connection and delete channel configuration, presence, and retained events.
  • Auth: Organization API key (Authorization: Bearer korve_...) or dashboard session.
  • Minimum role: owner
  • Risk: destructive · sensitive (elevated blast radius)

Example

Responses

realtime.publish

Publish one JSON event of at most 65,536 encoded bytes. Live fan-out is at most once.
  • Auth: Organization API key (Authorization: Bearer korve_...) or dashboard session.
  • Minimum role: member
  • Billing: requires active organization billing — returns 402 otherwise.
  • Risk: write

Request body

Example

Responses

Response body (202)

realtime.stats

Get current connection, presence, message, delivery, and retained-event counters.
  • Auth: Organization API key (Authorization: Bearer korve_...) or dashboard session.
  • Minimum role: member
  • Risk: read

Example

Responses

Response body (200)

realtime.runtimeIssueToken

Issue a short-lived subscribe/publish capability from a deployed server. The runtime token fixes the project and environment; the returned capability fixes one channel, subject, permissions, and replay limit.
  • Auth: Project app-service token (Authorization: Bearer $APP_SERVICE_TOKEN).
  • Billing: requires active organization billing — returns 402 otherwise.
  • Risk: write · sensitive (elevated blast radius)

Request body

Example

Responses

Response body (201)

realtime.runtimePublish

Publish one bounded event from a deployed server using its project-and-environment-scoped runtime token.
  • Auth: Project app-service token (Authorization: Bearer $APP_SERVICE_TOKEN).
  • Billing: requires active organization billing — returns 402 otherwise.
  • Risk: write

Request body

Example

Responses

Response body (202)