Skip to main content
curl -X GET https://api.thinnest.ai/v2/calls \
  -H "Authorization: Bearer $THINNESTAI_API_KEY"

Response 200

{
  "calls": [
    {
      "id": 77,
      "type": "web",
      "status": "ended",
      "agent_id": "ag_5d2678fd_e556",
      "agent_name": "Priya Support Agent",
      "started_at": "2026-03-25T10:20:57Z",
      "ended_at": "2026-03-25T10:22:36Z",
      "duration_seconds": 99.1,
      "latency_ms": 475,
      "cost": {
        "total_usd": 0.08,
        "total_inr": 6.80
      }
    }
  ],
  "total": 42
}

Response Fields

calls
array
List of call objects
calls[].id
integer
Call ID
calls[].type
string
web, inbound, or outbound
calls[].status
string
active, ended, error, pending
calls[].agent_id
string
Agent public ID (ag_*)
calls[].agent_name
string
Agent display name
calls[].duration_seconds
number
Call duration in seconds
calls[].latency_ms
integer
Average turn-around latency
calls[].cost.total_inr
number
Total cost in INR
total
integer
Total matching calls

Errors

CodeDescription
401Missing or invalid authentication