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

Response 200

{
  "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,
  "ended_reason": "user_hangup",

  "transcript": [
    { "role": "assistant", "content": "नमस्ते, मैं प्रिया हूँ...", "timestamp": "0.0" },
    { "role": "user", "content": "मुझे मदद चाहिए", "timestamp": "5.2" },
    { "role": "assistant", "content": "जी बिल्कुल, बताइए...", "timestamp": "6.1" }
  ],

  "recording_url": "https://storage.googleapis.com/thinnestai-recordings/recordings/...",
  "recording_duration": 99,

  "cost": {
    "total_usd": 0.08,
    "total_inr": 6.80,
    "breakdown": {
      "platform_fee": 0.05,
      "stt": 0.01,
      "tts": 0.015,
      "llm": 0.005,
      "telephony": 0.00
    }
  },

  "model": {
    "provider": "groq",
    "model_id": "llama-3.3-70b-versatile"
  },
  "transcriber": {
    "provider": "deepgram",
    "model": "nova-3"
  },
  "voice": {
    "provider": "cartesia",
    "model": "sonic-3",
    "voice_id": "be79f378-47fe-..."
  },

  "latency_ms": 475,
  "interruptions": 2,

  "analysis": {
    "summary": {
      "overview": "Customer asked about billing. Agent resolved the issue.",
      "key_topics": ["billing", "refund"],
      "action_items": ["Process refund within 3 days"],
      "outcome": "resolved"
    },
    "sentiment": "positive",
    "score": { "score": 85, "reasoning": "Polite, resolved issue quickly" },
    "tags": ["support", "billing"],
    "knowledge_gaps": []
  },

  "phone_number": null,
  "caller_phone": null,
  "call_direction": "web",

  "created_at": "2026-03-25T10:20:57Z",
  "updated_at": "2026-03-25T10:22:38Z"
}

Response Fields

id
integer
Call ID
type
string
web, inbound, outbound
status
string
active, ended, error, pending, deleted
agent_id
string
Agent public ID
duration_seconds
number
Total call duration
ended_reason
string
Why the call ended
transcript
array
Conversation messages
transcript[].role
string
assistant or user
transcript[].content
string
Message text
transcript[].timestamp
string
Seconds from call start
recording_url
string
Pre-signed URL (expires in 1 hour)
recording_duration
integer
Recording length in seconds
cost.total_usd
number
Total cost in USD
cost.total_inr
number
Total cost in INR
cost.breakdown.*
number
Per-component costs (platform, STT, TTS, LLM, telephony)
model
object
LLM provider + model used
transcriber
object
STT provider + model used
voice
object
TTS provider + voice used
latency_ms
integer
Average turn-around latency in ms
interruptions
integer
Number of user interruptions
analysis.summary
object
AI-generated call summary
analysis.sentiment
string
Overall sentiment (positive, neutral, negative)
analysis.score
object
Call quality score (0-100)
analysis.tags
array
Auto-detected call tags
phone_number
string
Agent’s phone number (for phone calls)
caller_phone
string
Caller’s phone number

Errors

CodeDescription
404Call not found
403Not authorized to access this call