Saltar al contenido
Qomni

Agents

Crea un agente, dale voz y ponlo a atender: REST para las llamadas y un WebSocket para hablar con él en tiempo real desde tu app.

URL base
https://api.qomni.ai/agents/v1
Clave
sk_agents_test_…
curl https://api.qomni.ai/agents/v1/calls \
  -H "Authorization: Bearer sk_agents_test_…"

Novedades

Navegación

Create demo session

Start a voice conversation with Qomni's demo agent from the public website, without a key. The answer is a LiveKit participant token for a new room in the demo workspace's cell, with the demo agent already dispatched into it: join url with token within 60 seconds, publish the microphone and play the agent's audio. The call is in test mode and ends by itself after max_duration_seconds, or after 20 seconds without the visitor speaking.

Limits: 3 sessions per IP in 10 minutes and 10 in 24 hours (rate_limited), and a daily cap of demo minutes for everyone (demo_unavailable). CORS answers only the website's origin. An API key sent anyway is ignored.

POST
https://api.qomni.ai/agents/v1/demo_sessions

Cuerpo de la peticiónJSONOpcional

  • languageOpcionalesorenorpt-br

    The language the demo agent speaks.

    default: "en"
  • agentOpcionalreceptionorschedulingorqualificationorsupportorcollectionsorreminders

    Which demo agent answers - a receptionist, appointment booking, lead qualification, first-level support, collections or appointment reminders.

    default: "reception"

Devuelve

201

The demo session.

JSON
  • urlstringObligatorio

    The cell's LiveKit (wss://…).

    format: uri
  • tokenstringObligatorio

    A LiveKit participant token for room only, microphone only.

  • roomstringObligatorio
    pattern: ^demo-[0-9a-z]+$
  • expires_atstringObligatorio

    Join before this instant.

    format: date-time
  • max_duration_secondsintegerObligatorio

    The call ends by itself after this long.

422

The request does not match the contract (validation_failed).
JSON
  • errorobjectObligatorio
    • codestringObligatorio

      Stable, machine-readable; each operation lists the codes it can return.

      pattern: ^[a-z][a-z0-9_]*$
    • messagestringObligatorio

      For people; may change at any time.

    • request_idOpcionalstring
    • fieldsOpcionalmap ofarray<string>

      Only for validation_failed, the messages per field.

429

Too many demo sessions from this address (rate_limited); retry after Retry-After seconds.
JSON
  • errorobjectObligatorio
    • codestringObligatorio

      Stable, machine-readable; each operation lists the codes it can return.

      pattern: ^[a-z][a-z0-9_]*$
    • messagestringObligatorio

      For people; may change at any time.

    • request_idOpcionalstring
    • fieldsOpcionalmap ofarray<string>

      Only for validation_failed, the messages per field.

503

The demo has used today's minutes (demo_unavailable), or is not offered in this environment.
JSON
  • errorobjectObligatorio
    • codestringObligatorio

      Stable, machine-readable; each operation lists the codes it can return.

      pattern: ^[a-z][a-z0-9_]*$
    • messagestringObligatorio

      For people; may change at any time.

    • request_idOpcionalstring
    • fieldsOpcionalmap ofarray<string>

      Only for validation_failed, the messages per field.

Nuevo

2 de 7 pasos hechosSigue: la plataforma en producción

Qomni está en beta privada

La API y la app todavía no están abiertas. Mira qué está hecho, qué falta y cómo se abre, paso a paso hasta el primer cliente.

Escribe para buscar…

↑↓ moverte↵ abrirEsc para cerrar