Agents Platform
- Custom Dashboard Charts: The Agents Platform dashboard can now be extended with custom charts displaying the results of evaluation criteria over time. See the new GET and PATCH endpoints for managing dashboard settings.
- Call History Filtering: Added the ability to filter the call history by start date using the new
call_start_before_unixparameter in the List Conversations endpoint. Try it here. - Server Tools: Added option of making PUT requests in server tools
- Transfer to human: Added call forwarding functionality to support forwarding to operators, see docs here
- Language detection: Fixed an issue where the language detection system tool would trigger on a user replying yes in non-English language.
Usage Analytics
- Custom Aggregation: Added an optional
aggregation_intervalparameter to the Get Usage Metrics endpoint to control the interval over which to aggregate character usage (hour, day, week, month, or cumulative). - New Metric Breakdowns: The Usage Analytics section now supports additional metric breakdowns including
minutes_used,request_count,ttfb_avg, andttfb_p95, selectable via the newmetricparameter in the Get Usage Metrics endpoint. Furthermore, you can now get a breakdown and filter byrequest_queue.
API
View API changes
New Endpoints
- Added 2 new endpoints for managing Agents Platform dashboard settings:
- Get Dashboard Settings - Retrieves custom chart configurations for the ConvAI dashboard.
- Update Dashboard Settings - Updates custom chart configurations for the ConvAI dashboard.
Updated Endpoints
Audio Generation (TTS, S2S, SFX, Voice Design)
- Updated endpoints to support new
output_formatoptionpcm_48000:- Text to Speech (
POST /v1/text-to-speech/{voice_id}) - Text to Speech with Timestamps (
POST /v1/text-to-speech/{voice_id}/with-timestamps) - Text to Speech Stream (
POST /v1/text-to-speech/{voice_id}/stream) - Text to Speech Stream with Timestamps (
POST /v1/text-to-speech/{voice_id}/stream/with-timestamps) - Speech to Speech (
POST /v1/speech-to-speech/{voice_id}) - Speech to Speech Stream (
POST /v1/speech-to-speech/{voice_id}/stream) - Sound Generation (
POST /v1/sound-generation) - Create Voice Previews (
POST /v1/text-to-voice/create-previews)
- Text to Speech (
Usage Analytics
- Updated usage metrics endpoint:
- Get Usage Metrics (
GET /v1/usage/character-stats) - Added optionalaggregation_intervalandmetricquery parameters.
- Get Usage Metrics (
Agents Platform
- Updated conversation listing endpoint:
- List Conversations (
GET /v1/convai/conversations) - Added optionalcall_start_before_unixquery parameter for filtering by start date.
- List Conversations (
Schema Changes
Agents Platform
- Added detailed LLM usage and pricing information to conversation charging and history models.
- Added
tool_latency_secsto tool result schemas - Added
access_infotoGET /v1/convai/agents/{agent_id}