{ "opencollection": "1.0.0", "info": { "name": "Amigo Account Analytics API", "version": "0.1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Analytics", "type": "folder" }, "items": [ { "info": { "name": "Usage Summary", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/analytics/usage", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "days", "value": "", "type": "query" } ] }, "docs": "Usage summary grouped by event type and date." }, { "info": { "name": "Call Stats", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/analytics/calls", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "days", "value": "", "type": "query" } ] }, "docs": "Call volume and duration statistics." }, { "info": { "name": "Event Breakdown", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/analytics/events", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "days", "value": "", "type": "query" } ] }, "docs": "Event volume breakdown by type and source." }, { "info": { "name": "Data Quality Analytics", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/analytics/data-quality", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "days", "value": "", "type": "query" } ] }, "docs": "Data quality metrics: confidence distribution, review pipeline stats, daily trends." }, { "info": { "name": "Analytics Dashboard", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/analytics/dashboard", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "days", "value": "", "type": "query", "description": "Period length in days" } ] }, "docs": "Composite analytics dashboard — top KPIs with period-over-period deltas." }, { "info": { "name": "Eval Quality Analytics", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/analytics/eval-quality", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "days", "value": "", "type": "query" }, { "name": "interval", "value": "", "type": "query" }, { "name": "service_id", "value": "", "type": "query" } ] }, "docs": "Production-eval pass-rate and score trends (channel-agnostic — voice, text, SMS, email)." }, { "info": { "name": "Advanced Call Stats", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/analytics/calls/advanced", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "days", "value": "", "type": "query" }, { "name": "date_from", "value": "", "type": "query" }, { "name": "date_to", "value": "", "type": "query" }, { "name": "interval", "value": "", "type": "query" }, { "name": "service_id", "value": "", "type": "query" }, { "name": "direction", "value": "", "type": "query", "description": "Filter by call direction: inbound or outbound" } ] }, "docs": "Percentile-based call metrics: p50/p95/p99 for duration, quality, latency." }, { "info": { "name": "Call Comparison", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/analytics/calls/comparison", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "current_from", "value": "", "type": "query", "description": "Start of current period" }, { "name": "current_to", "value": "", "type": "query", "description": "End of current period" }, { "name": "previous_from", "value": "", "type": "query", "description": "Start of previous period" }, { "name": "previous_to", "value": "", "type": "query", "description": "End of previous period" }, { "name": "service_id", "value": "", "type": "query" } ] }, "docs": "Period-over-period comparison of key call metrics." }, { "info": { "name": "Call Quality Analytics", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/analytics/call-quality", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "days", "value": "", "type": "query" }, { "name": "date_from", "value": "", "type": "query" }, { "name": "date_to", "value": "", "type": "query" }, { "name": "interval", "value": "", "type": "query" }, { "name": "service_id", "value": "", "type": "query" } ] }, "docs": "Call quality score trends, distribution, and summary statistics." }, { "info": { "name": "Emotion Trends", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/analytics/emotion-trends", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "days", "value": "", "type": "query" }, { "name": "date_from", "value": "", "type": "query" }, { "name": "date_to", "value": "", "type": "query" }, { "name": "interval", "value": "", "type": "query" }, { "name": "service_id", "value": "", "type": "query" } ] }, "docs": "Emotion distribution and valence/arousal trends." }, { "info": { "name": "Latency Analytics", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/analytics/latency", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "days", "value": "", "type": "query" }, { "name": "date_from", "value": "", "type": "query" }, { "name": "date_to", "value": "", "type": "query" }, { "name": "interval", "value": "", "type": "query" }, { "name": "service_id", "value": "", "type": "query" } ] }, "docs": "Voice latency metrics — p50/p95/p99 by component with trends." }, { "info": { "name": "Tool Performance Analytics", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/analytics/tool-performance", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "days", "value": "", "type": "query" }, { "name": "date_from", "value": "", "type": "query" }, { "name": "date_to", "value": "", "type": "query" }, { "name": "interval", "value": "", "type": "query" }, { "name": "service_id", "value": "", "type": "query" } ] }, "docs": "Tool execution analytics — success rates, failure trends." }, { "info": { "name": "Operator Performance Analytics", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/analytics/operator-performance", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "days", "value": "", "type": "query" }, { "name": "date_from", "value": "", "type": "query" }, { "name": "date_to", "value": "", "type": "query" }, { "name": "interval", "value": "", "type": "query" }, { "name": "service_id", "value": "", "type": "query" } ] }, "docs": "Operator escalation stats and quality comparison." }, { "info": { "name": "Get Agent Analytics", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/analytics/agents", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "days", "value": "", "type": "query" }, { "name": "date_from", "value": "", "type": "query" }, { "name": "date_to", "value": "", "type": "query" }, { "name": "period", "value": "", "type": "query" } ] }, "docs": "Per-agent (service) call volume, completion rate, and avg duration." }, { "info": { "name": "Surface Completion Rates", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/analytics/surfaces/completion-rates", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "days", "value": "", "type": "query" }, { "name": "date_from", "value": "", "type": "query" }, { "name": "date_to", "value": "", "type": "query" }, { "name": "interval", "value": "", "type": "query" }, { "name": "entity_id", "value": "", "type": "query", "description": "Filter by entity ID" } ] }, "docs": "Surface completion rates: overall, by source, time-bucketed trend." }, { "info": { "name": "Surface Channel Effectiveness", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/analytics/surfaces/channel-effectiveness", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "days", "value": "", "type": "query" }, { "name": "date_from", "value": "", "type": "query" }, { "name": "date_to", "value": "", "type": "query" } ] }, "docs": "Per-channel completion rate and average time to complete." }, { "info": { "name": "Surface Field Abandonment", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/analytics/surfaces/field-abandonment", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "days", "value": "", "type": "query" }, { "name": "date_from", "value": "", "type": "query" }, { "name": "date_to", "value": "", "type": "query" } ] }, "docs": "Field-level drop-off analysis for abandoned surfaces." }, { "info": { "name": "Entity Surface History", "type": "http" }, "http": { "method": "GET", "url": "https://api.amigo.ai/v1/:workspace_id/analytics/surfaces/entity/:entity_id", "params": [ { "name": "workspace_id", "value": "", "type": "path" }, { "name": "entity_id", "value": "", "type": "path" }, { "name": "limit", "value": "", "type": "query" } ] }, "docs": "Per-entity surface history with preferred channel and completion stats." } ] } ], "bundled": true }