Skip to main content
GET
/
v1
/
call-analysis
/
{id}
Retrieve a specific call analysis
curl --request GET \
  --url https://api.example.com/v1/call-analysis/{id} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.example.com/v1/call-analysis/{id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.example.com/v1/call-analysis/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/call-analysis/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.example.com/v1/call-analysis/{id}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.example.com/v1/call-analysis/{id}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.example.com/v1/call-analysis/{id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "external_id": "CALL-2024-001234",
  "enabled": true,
  "created_at": "2023-11-07T05:31:56Z",
  "created_by": "<string>",
  "agent_id": "AGT-001",
  "agent_name": "John Smith",
  "model_id": 1,
  "error_message": "<string>",
  "original_file_name": "support_call_20240115.mp3",
  "additional_parameters": {
    "campaign": "Q4_Retention",
    "department": "Support"
  },
  "analysis_result": {},
  "neurascore_result": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "Opening",
      "total_score": 45,
      "expected_total_score": 50,
      "score_percentage": 90,
      "expected_score_percentage": 100,
      "variables": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "key": "greeting_quality",
          "readable_name": "Greeting Quality",
          "description": "Evaluates the warmth and professionalism of the agent's greeting",
          "score": 8,
          "expected_score": 10
        }
      ]
    }
  ],
  "total_score": 425,
  "expected_score": 500,
  "score_percentage": 85,
  "summary": "The agent handled a billing inquiry efficiently, resolving the customer's concern about an unexpected charge.",
  "insights": [
    "Agent demonstrated excellent product knowledge",
    "Consider offering proactive follow-up"
  ],
  "keywords": [
    "billing",
    "refund",
    "subscription",
    "satisfaction"
  ],
  "updated_at": "2023-11-07T05:31:56Z",
  "updated_by": "<string>"
}
{
"code": "001-001-0001",
"message": "The requested resource was not found"
}
{
"code": "001-001-0001",
"message": "The requested resource was not found"
}
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Unique identifier of the call analysis

Response

Successful Response

Complete call analysis result with scores, insights, and metadata

id
string<uuid>
required

Unique identifier for this analysis

Example:

"550e8400-e29b-41d4-a716-446655440000"

external_id
string
required

Your reference ID for this call

Example:

"CALL-2024-001234"

status
enum<string>
required

Current processing status: PENDING, PROCESSING, COMPLETED, or FAILED

Available options:
PENDING,
AUDIO_CONVERSION_IN_PROGRESS,
AUDIO_CONVERTED,
AUDIO_TRANSCRIPTION_IN_PROGRESS,
AUDIO_TRANSCRIBED,
TRANSCRIPTION_ANALYZE_IN_PROGRESS,
TRANSCRIPTION_ANALYZED,
TRANSCRIPTION_SUMMARIZE_IN_PROGRESS,
TRANSCRIPTION_SUMMARIZED,
TRANSCRIPTION_FAILED,
PROCESS_COMPLETED,
ERROR
enabled
boolean
required

Whether this record is active

Example:

true

created_at
string<date-time>
required

Timestamp when analysis was created (UTC)

created_by
string
required

System identifier that created this record

agent_id
string

Identifier of the agent who handled the call

Example:

"AGT-001"

agent_name
string

Display name of the agent

Example:

"John Smith"

model_id
integer

ID of the analysis model used for evaluation

Example:

1

error_message
string

Error details if status is FAILED

original_file_name
string

Name of the uploaded audio file

Example:

"support_call_20240115.mp3"

additional_parameters
Additional Parameters · object

Custom metadata provided during submission

Example:
{
"campaign": "Q4_Retention",
"department": "Support"
}
analysis_result
Analysis Result · object

Extracted variables and data from the analysis

neurascore_result
Category · object[]

Detailed scoring breakdown organized by evaluation categories

total_score
integer

Total achieved score across all categories

Example:

425

expected_score
integer

Maximum possible total score

Example:

500

score_percentage
number

Overall achievement percentage (0-100)

Example:

85

summary
string

AI-generated summary of the conversation

Example:

"The agent handled a billing inquiry efficiently, resolving the customer's concern about an unexpected charge."

insights
string[]

Key observations and recommendations from the analysis

Example:
[
"Agent demonstrated excellent product knowledge",
"Consider offering proactive follow-up"
]
keywords
string[]

Key topics and themes discussed in the call

Example:
[
"billing",
"refund",
"subscription",
"satisfaction"
]
updated_at
string<date-time>

Timestamp of last update (UTC)

updated_by
string

System identifier that last updated this record