Analytics

Create Analytics Queries

Changed on
post/analytics

Request

  • Base URL
    https://api.vapi.ai
  • Auth
    HTTP bearer

Request body

Response

namestring required

This is the unique key for the query.

resultobject[] required

This is the result of the query, a list of unique groups with result of their aggregations.

Example: "result": [ { "date": "2023-01-01", "assistantId": "123", "endedReason": "customer-ended-call", "sumDuration": 120, "avgCost": 10.5 }, { "date": "2023-01-02", "assistantId": "123", "endedReason": "customer-did-not-give-microphone-permission", "sumDuration": 0, "avgCost": 0 }, // Additional results ]

Changes

    • info

      added the new costBreakdown.analysisBreakdown.summary enum value to the request property ////

    • info

      added the new costBreakdown.transcriber enum value to the request property ////

    • info

      added the new costBreakdown.transport enum value to the request property ////

    • info

      added the new minutesUsed enum value to the request property ////

Some revisions have not been checked yet.