Classic API
Classic API reference for text-based conversations, user management, tools, simulations, and metrics.
The Classic API provides programmatic access to text-based conversational AI: chat agents, async voice notes, WebSocket streaming, user management, simulations, and data access. It was built for consumer-facing digital health products.
Overview
The Classic API is a RESTful API at https://api.amigo.ai/v1/{organization}/... that lets developers run conversations, manage users, deploy tools, and execute simulations. Endpoints use standard HTTP methods (GET, POST, PUT, DELETE) and return JSON responses (conversation endpoints stream NDJSON events). The API is versioned (/v1/) so that existing integrations keep working as the platform evolves.
Key capabilities:
Organization Management: create and configure organizations
Agents and Context Graphs: define agent personas and conversational flows
User Management: create and manage users, customize preferences
Service Discovery: list available AI services and configurations
Tool Management: version and deploy custom tools for agents
Dynamic Behaviors: trigger-based rules that inject instructions or change tool availability mid-conversation
Metrics: typed evaluation criteria for scoring conversation quality
Conversations: create, interact with, and manage AI conversations
Real-time Streaming: WebSocket support for live voice and events
Simulations: evaluate and test agent behavior with automated test suites
Admin: platform configuration and debugging utilities
All operations are organization-scoped and require authentication. For complete endpoint specifications, see the API Reference.
API Categories
Organization Management
OrganizationAgents & Context Graphs
Agents & Context GraphsUser Management
UsersService Management
ServicesTools
ToolsDynamic Behaviors
Dynamic BehaviorsMetrics
MetricsAdmin
AdminConversations
The core of the platform for managing AI-powered conversations:
Initialize new conversations
Send messages and receive responses
Real-time event streaming
Manage conversation states
Generate contextual conversation starter prompts
Voice-enabled conversations
Low-latency streaming via WebSocket
Interleave external events and audio
Retrieve messages and interactions
Simulations
Simulations: evaluate and test agent behavior using simulated personas and scenarios.
Simulated user profiles with background and role
Conversation test scripts with objectives
Individual test cases combining persona + scenario
Grouped test suites with run counts
Execute suites and retrieve results
Authentication
All API requests require authentication. See the Authentication Guide for details.
Base URLs
US
https://api.amigo.ai/v1
CA
https://api-ca-central-1.amigo.ai/v1
EU
https://api-eu-central-1.amigo.ai/v1
AU
https://api-ap-southeast-2.amigo.ai/v1
Last updated
Was this helpful?

