Skip to main content
GET
/
v1
/
realtime
Realtime
curl --request GET \
  --url wss://api.gravitex.ai/v1/realtime

Documentation Index

Fetch the complete documentation index at: https://docs.gravitex.ai/llms.txt

Use this file to discover all available pages before exploring further.

Introduction

OpenAI-compatible Realtime API over WebSocket for low-latency voice interaction—not a standard HTTP POST endpoint.

Authentication

Pass your Bearer token when opening the WebSocket (per OpenAI Realtime conventions—header or initial auth message).

Connection example

wss://api.gravitex.ai/v1/realtime?model=gpt-4o-realtime-preview
model
string
Realtime model, e.g. gpt-4o-realtime-preview

Notes

  • 101 Switching Protocols indicates a successful upgrade
  • Exchange audio/text using Realtime event messages after connect
  • Suitable for voice assistants and live translation
See OpenAI Realtime guide for event schemas.