Call Imports
GET
/api/v1/call-imports/{call_import_id}/insights

Aggregate signals across every evaluation run on this import.

Powers the Insights tab on the call-import detail page: returns per-metric "latest run" summaries plus a trend series of mean values across runs so the UI can render a small line chart per metric. Also bundles transcript coverage stats since those are the cheapest pre-eval health-check (e.g. "30 of 50 rows still missing transcripts").

Authorization

AuthorizationBearer <token>

JWT access token. Use: Authorization: Bearer .

In: header

Path Parameters

call_import_id*Call Import Id
Formatuuid

Header Parameters

Authorization?string|null
X-API-Key?string|null
X-EFFICIENTAI-API-KEY?string|null
X-Workspace-Id?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/call-imports/497f6eca-6276-4993-bfeb-53cbbbba6f08/insights"
{  "call_import_id": "cb7f39d3-0e2b-434e-a045-67668dae83d6",  "total_rows": 0,  "rows_with_transcript": 0,  "rows_without_transcript": 0,  "transcript_source_counts": {    "property1": 0,    "property2": 0  },  "evaluation_count": 0,  "metrics": [    {      "metric_id": "string",      "metric_name": "string",      "metric_type": "string",      "latest": {        "metric_id": "string",        "metric_name": "string",        "metric_type": "string",        "metric_category": "quality",        "is_multi_label_parent": false,        "count": 0,        "skipped_count": 0,        "error_count": 0,        "mean": 0,        "median": 0,        "p25": 0,        "p75": 0,        "p95": 0,        "min": 0,        "max": 0,        "stddev": 0,        "histogram_buckets": [          {            "x0": 0,            "x1": 0,            "count": 0          }        ],        "value_counts": [          {            "label": "string",            "count": 0          }        ],        "co_occurrence": [          {            "a": "string",            "b": "string",            "count": 0          }        ]      },      "trend": [        {          "evaluation_id": "4108ec8e-6efd-4b9b-bace-0bb4c296c324",          "name": "string",          "created_at": "2019-08-24T14:15:22Z",          "mean": 0,          "completed_rows": 0        }      ]    }  ]}

Community & contact

  1. Found a bug or have a feature request? Open a GitHub issue.
  2. Join our Discord for faster replies!