Skip to content
First requestVisit website ↗
Navigation

Voice AI raw analytics dashboard data

Returns Voice AI dashboard widget data aggregated from the isolated analytics-layer Supabase replica tables.

GET
https://api.channelautomation.com/api/analytics/voice-ai-raw-dashboard

Authorization

  • BearerAuth
    optional
    HTTP Bearer (JWT)
  • ApiKeyAuth
    optional
    API key in header

Query parameters

  • workspace_id
    string
    required

    Workspace ID to read from the analytics replica.

  • fromDate
    optional
    string

    Inclusive UTC start date for call and appointment activity.

    format: date
  • toDate
    optional
    string

    Inclusive UTC end date for call and appointment activity.

    format: date
  • callScope
    optional
    all
    or
    ai
    or
    human

    Optional dashboard-wide call source scope. Use ai for Vapi/Voice AI calls and human for app-to-phone human-agent calls.

  • callersDirection
    optional
    inbound
    or
    outbound

    Optional callers-table direction filter.

  • callersDispositions
    optional
    string

    Comma-separated callers-table disposition filter values.

Returns

200

Aggregated voice analytics from the analytics replica or its rollups. Assistant keys use the built-in voice agent id when present, otherwise the existing provider assistant id. Labels use call-time agent name snapshots when available.

400

Missing workspace ID or invalid request.

401

Authentication required
JSON
  • error
    optional
    string
  • success
    optional
    boolean

403

Authenticated user cannot access the requested workspace.

500

Internal server error
JSON
  • error
    optional
    string
  • details
    optional
    string
  • success
    optional
    boolean

Type to search…

↑↓ navigate↵ selectEsc close