Skip to main content

Get Call Details

Get detailed call information including transcript, entities, and evaluation. Authentication: Requires X-API-Key header

Request Example

curl -X GET 'https://api.vaaniresearch.com/api/call_details/my-client/call_123' \
  -H 'X-API-Key: YOUR_API_KEY'

Response

Success Response (200)

Returns a JSON object containing detailed call information including transcript, entities, and evaluation. The exact structure may vary based on the implementation.
{
  "call_id": "call_123",
  "client": "my-client",
  "transcript": "Full conversation transcript...",
  "entities": {
    "customer_name": "John Doe",
    "phone_number": "+919876543210",
    "email": "[email protected]"
  },
  "evaluation": {
    "score": 85,
    "sentiment": "positive",
    "key_points": [
      "Customer inquiry about product",
      "Price discussion",
      "Follow-up scheduled"
    ]
  },
  "timestamp": "2024-01-15T10:30:00Z",
  "duration": 300,
  "status": "completed"
}
call_id
string
The ID of the call
client
string
The client name
transcript
string
Full conversation transcript
entities
object
Extracted entities from the call
evaluation
object
Call evaluation data
The response structure follows the CallDetailsResponse schema, which is an object with additional properties. The exact fields may vary based on your implementation. This endpoint provides comprehensive call information including transcript, entities, and evaluation data.

Validation Error Response (422)

{
  "detail": [
    {
      "loc": ["path", "client"],
      "msg": "field required",
      "type": "value_error.missing"
    },
    {
      "loc": ["path", "call_id"],
      "msg": "field required",
      "type": "value_error.missing"
    }
  ]
}
detail
array
Array of validation error details