For the complete documentation index, see llms.txt. This page is also available as Markdown.

Classic API

Classic API reference for text-based conversations, user management, tools, simulations, and metrics.

This is the Classic API for text-based digital health experiences. It uses organization-scoped endpoints at api.amigo.ai/v1 with per-user JWT authentication. For enterprise voice deployments with phone-based agents, EHR integration, and operator workflows, see the Platform API.

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

Organization

Agents & Context Graphs

Agents & Context Graphs

User Management

Users

Service Management

Services

Tools

Tools

Dynamic Behaviors

Dynamic Behaviors

Metrics

Metrics

Admin

Admin

Conversations

The core of the platform for managing AI-powered conversations:

Endpoint
Description

Create

Initialize new conversations

Interact

Send messages and receive responses

Events

Real-time event streaming

Lifecycle & Finish

Manage conversation states

Starters

Generate contextual conversation starter prompts

Voice

Voice-enabled conversations

Low-latency streaming via WebSocket

Interleave external events and audio

Conversation History

Retrieve messages and interactions

Simulations

Simulations: evaluate and test agent behavior using simulated personas and scenarios.

Endpoint
Description

Personas

Simulated user profiles with background and role

Scenarios

Conversation test scripts with objectives

Unit Tests

Individual test cases combining persona + scenario

Unit Test Sets

Grouped test suites with run counts

Unit Test Set Runs

Execute suites and retrieve results

Authentication

All API requests require authentication. See the Authentication Guide for details.

Base URLs

Region
Endpoint

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

Regional Configuration See Regions & Endpoints for guidance on choosing the right regional base URL and configuring dedicated clusters.

Last updated

Was this helpful?