https://api.dashboard.valuez.ai
All endpoints require the x-api-key header. See API Authentication for setup details.
1. Text-to-Text Agent Chat
Send a text question to an AI agent and receive an answer grounded in its knowledge base and instructions.- Method:
POST - Endpoint:
/api/v1/ttt - Credits: Deducts
TTT_APIcredits per token usage.
Request Body
Response
Code Examples
2. Text-to-Speech (TTS)
Synthesize speech audio from text using the workspace’s configured TTS provider and voice profile.- Method:
POST - Endpoint:
/api/v1/tts/external - Credits: Deducts
TTS_APIcredits based on character count. - Output: Returns a binary
audio/wavstream.
Request Body
Code Examples
3. Speech-to-Text (STT)
Transcribe a recorded voice audio file to text.- Method:
POST - Endpoint:
/api/v1/stt/external - Content-Type:
multipart/form-data - Credits: Deducts
STT_APIcredits based on audio duration.
Request Fields
Response
Code Examples
4. Conversational Agent Chat
Unified endpoint supporting text or audio input, RAG knowledge retrieval, and stateful multi-turn conversation history.- Method:
POST - Endpoint:
/api/v1/external/chat - Content-Type:
application/json(ormultipart/form-datawhen uploadingaudioFile)
Request Body
Fetch Session History
Retrieve the full multi-turn transcript for a session:Response
5. Real-Time WebSockets
For low-latency streaming, Valuez exposes WebSocket endpoints for bidirectional voice and embedded widget interactions:Error Reference
API Logs
Monitor request logs and inspect execution details.
Agents & Knowledge
Configure the AI agents that power these endpoints.
