Skip to main content
GET
/
api
/
calls
/
statistics
Get aggregate call statistics for the org
curl --request GET \
  --url https://your-instance.example.com/api/calls/statistics \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "statistics": {
    "totalCalls": 124,
    "totalDuration": 18450,
    "averageDuration": 148.79,
    "byStatus": {
      "completed": {
        "count": 102,
        "totalDuration": 17800,
        "avgDuration": 174.5
      },
      "no-answer": {
        "count": 18,
        "totalDuration": 0,
        "avgDuration": 0
      },
      "failed": {
        "count": 4,
        "totalDuration": 650,
        "avgDuration": 162.5
      }
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.tetherai.ca/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

startDate
string<date-time>

ISO start of the reporting window.

endDate
string<date-time>

ISO end of the reporting window.

Response

Aggregate statistics

success
enum<boolean>
required
Available options:
true
statistics
object
required