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",
"status": "PENDING",
"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>"
}
]
}Obtener Análisis
Returns detailed analysis results for a specific call including:
- Status: Current processing status
- Scores: Overall and category-level quality scores
- Neurascore: Detailed breakdown by evaluation criteria
- Summary: AI-generated conversation summary
- Insights: Key observations and recommendations
- Keywords: Extracted topic keywords
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",
"status": "PENDING",
"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
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Unique identifier of the call analysis
Response
Successful Response
Complete call analysis result with scores, insights, and metadata
Unique identifier for this analysis
"550e8400-e29b-41d4-a716-446655440000"
Your reference ID for this call
"CALL-2024-001234"
Current processing status: PENDING, PROCESSING, COMPLETED, or FAILED
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 Whether this record is active
true
Timestamp when analysis was created (UTC)
System identifier that created this record
Identifier of the agent who handled the call
"AGT-001"
Display name of the agent
"John Smith"
ID of the analysis model used for evaluation
1
Error details if status is FAILED
Name of the uploaded audio file
"support_call_20240115.mp3"
Custom metadata provided during submission
{
"campaign": "Q4_Retention",
"department": "Support"
}
Extracted variables and data from the analysis
Detailed scoring breakdown organized by evaluation categories
Show child attributes
Show child attributes
Total achieved score across all categories
425
Maximum possible total score
500
Overall achievement percentage (0-100)
85
AI-generated summary of the conversation
"The agent handled a billing inquiry efficiently, resolving the customer's concern about an unexpected charge."
Key observations and recommendations from the analysis
[
"Agent demonstrated excellent product knowledge",
"Consider offering proactive follow-up"
]
Key topics and themes discussed in the call
[
"billing",
"refund",
"subscription",
"satisfaction"
]
Timestamp of last update (UTC)
System identifier that last updated this record
