Documentation

Quickstart

Create an API key, set your gateway origin, and send your first chat completion.

Step 1: Set up credentials

Generate a client ID and secret in Platform → Settings → Organization → API keys. These are service account credentials validated by the gateway and Auth service.

Required entitlements

Chat completions require the chat:send scope or feature flag. Audio and avatar endpoints require avatar:interact or avatar:use.
Step 2: Send your first request

Replace <gateway-host> with the gateway origin assigned to your organization.

curl https://<gateway-host>/v1/chat/completions \
  -H "Authorization: Bearer $DISRUPTIVERAIN_CLIENT_ID:$DISRUPTIVERAIN_CLIENT_SECRET" \
  -H "Content-Type: application/json" \
  -d '{
    "input": {"text": "Summarize the last 24 hours of alerts."},
    "stream": false
  }'
Use any HTTP client. The gateway accepts bearer, basic, or header-based API keys.
Was this page helpful?