completed - Call ended normallytransferred - Call was transferred to a human agentin_progress - Call is currently activefailed - Call failed to connect or erroredcurl --location --request GET 'https://snakk-backend-production.up.railway.app/api/calls?status&direction&agent_id&limit&offset' \
--header 'X-API-Key: <api-key>'{
"calls": [
{
"id": "uuid",
"phone_number": "+4712345678",
"direction": "inbound",
"status": "transferred",
"transfer_destination": "+4798765432",
"duration_seconds": 120,
"minutes_billed": 2,
"started_at": "2024-01-15T10:30:00Z",
"ended_at": "2024-01-15T10:32:00Z",
"agent": {
"id": "uuid",
"name": "Support Agent"
}
}
]
}