Developers / Agents

Compare agents

GET https://api.echonova.ai/v1/agents/compare

Returns 2 to 4 agents side by side, each with its numbers for the last 30 days. Needs the agents:read scope on the key.

Headers

Authorization string Required

Bearer, a space, then your API key, which starts with ek_. Create keys in the portal under Developers, API Keys.

Query parameters

ids string Required

2 to 4 different agent ids, separated by commas.

Response

200 application/json Every response uses this envelope.

data object

The result.

success boolean

true for a successful call.

statusCode integer

Repeats the HTTP status.

errorMessage string or null

null on success.

Errors

Same envelope, with success false and data null. All errors

GET /v1/agents/compare

curl "https://api.echonova.ai/v1/agents/compare?ids=6650a1b2c3d4e5f6a7b8c9d0%2C6650a1b2c3d4e5f6a7b8c9d1" \
  -H "Authorization: Bearer YOUR_API_KEY"

{
  "data": {
    "agents": [
      {
        "id": "6650a1b2c3d4e5f6a7b8c9d0",
        "name": "Sales assistant",
        "description": "Answers questions about plans and prices.",
        "status": "active",
        "voice": {
          "id": "6640a1b2c3d4e5f6a7b8c9d0",
          "name": "Huda"
        },
        "dialect": "emirati",
        "llm": {
          "provider": "openai",
          "model": "gpt-4o"
        },
        "channelsCount": 2,
        "sessionsCount": 128,
        "updatedAt": "2026-11-01T10:00:00.000Z",
        "firstMessage": "Hello, how can I help you today?",
        "systemPrompt": "You are a friendly sales assistant for EchoNova.",
        "settings": {
          "recordCalls": true,
          "normalizeNumbers": true
        },
        "knowledgeCount": 3,
        "toolsCount": 2,
        "createdAt": "2026-10-01T10:00:00.000Z"
      }
    ],
    "overview": {
      "6650a1b2c3d4e5f6a7b8c9d0": {
        "voiceCalls": 42,
        "textConversations": 86,
        "uniqueCustomers": 97,
        "resolvedPct": 81,
        "avgCallDurationSeconds": 95,
        "creditsUsedThisMonth": 1200,
        "replyP50Ms": 850,
        "replyP95Ms": 1900
      },
      "6650a1b2c3d4e5f6a7b8c9d1": {
        "voiceCalls": 10,
        "textConversations": 12,
        "uniqueCustomers": 20,
        "resolvedPct": 70,
        "avgCallDurationSeconds": 80,
        "creditsUsedThisMonth": 300,
        "replyP50Ms": 900,
        "replyP95Ms": null
      }
    }
  },
  "success": true,
  "statusCode": 200,
  "errorMessage": null
}