Get evaluated scorecard instance
curl --request GET \
--url https://api.siro.ai/v1/core/scorecards/evaluated-instances/{id} \
--header 'x-siro-auth-token: <api-key>'import requests
url = "https://api.siro.ai/v1/core/scorecards/evaluated-instances/{id}"
headers = {"x-siro-auth-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-siro-auth-token': '<api-key>'}};
fetch('https://api.siro.ai/v1/core/scorecards/evaluated-instances/{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.siro.ai/v1/core/scorecards/evaluated-instances/{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 => [
"x-siro-auth-token: <api-key>"
],
]);
$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.siro.ai/v1/core/scorecards/evaluated-instances/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-siro-auth-token", "<api-key>")
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.siro.ai/v1/core/scorecards/evaluated-instances/{id}")
.header("x-siro-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.siro.ai/v1/core/scorecards/evaluated-instances/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-siro-auth-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "scorecard_001",
"name": "Sales Performance Scorecard",
"recordingsEvaluatedCount": 150,
"recordingsTotalCount": 180,
"recordingsWonCount": 45,
"pointsPossible": 100,
"pointsEarned": 75,
"evaluatedNodes": [
{
"id": "node_001",
"name": "Conversation Quality",
"indexNumber": 1,
"parentId": "root",
"nodeType": "SECTION",
"metadata": {
"metricId": "metric_001",
"metricType": "CONVERSATION_TIME"
},
"pointsPossible": 100,
"pointsEarned": 75,
"color": "GREEN",
"description": "Metrics related to conversation quality and engagement",
"metricValue": 85,
"unit": "seconds",
"unitAbbreviated": "sec"
}
],
"metricRubrics": [
{
"scorecardNodeId": "node_001",
"scorecardMetricId": "metric_001",
"metricPointTotal": 100,
"minTarget": 0,
"maxTarget": 100,
"targetTolerance": 5
}
],
"sectionWeights": [
{
"scorecardNodeId": "node_001",
"weight": 25
}
],
"colorConfigurations": [
{
"color": "GREEN",
"lowRange": 80,
"highRange": 100
}
],
"filterByIds": [
"user_001",
"user_002"
],
"filterBy": "USER",
"startAt": "2024-01-01T00:00:00Z",
"endAt": "2024-01-31T23:59:59Z",
"description": "Comprehensive evaluation of sales call performance",
"tags": [
"sales",
"performance",
"q1"
],
"spotlightSummaries": [
{
"spotlightType": "strength",
"summary": "<string>",
"title": "<string>",
"score": 123,
"recordings": [
{
"id": "<string>",
"dateCreated": "<string>",
"score": 123,
"startTimeInMillis": 123,
"endTimeInMillis": 123,
"quote": "<string>",
"title": "<string>"
}
]
}
]
},
"cursor": "<string>",
"pageSize": 123,
"limit": 123,
"total": 123,
"hasNextPage": true
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"issues": [
{
"code": "<string>",
"path": [
"<string>"
],
"message": "<string>",
"expected": "<string>",
"received": "<string>"
}
],
"name": "ZodError"
}{
"error": "<string>"
}Scorecards
Get evaluated scorecard instance
Get an evaluated scorecard instance with computed metrics and scores for a specific time period and filter criteria. The user must have access to the organization that owns the scorecard instance.
GET
/
v1
/
core
/
scorecards
/
evaluated-instances
/
{id}
Get evaluated scorecard instance
curl --request GET \
--url https://api.siro.ai/v1/core/scorecards/evaluated-instances/{id} \
--header 'x-siro-auth-token: <api-key>'import requests
url = "https://api.siro.ai/v1/core/scorecards/evaluated-instances/{id}"
headers = {"x-siro-auth-token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-siro-auth-token': '<api-key>'}};
fetch('https://api.siro.ai/v1/core/scorecards/evaluated-instances/{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.siro.ai/v1/core/scorecards/evaluated-instances/{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 => [
"x-siro-auth-token: <api-key>"
],
]);
$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.siro.ai/v1/core/scorecards/evaluated-instances/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-siro-auth-token", "<api-key>")
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.siro.ai/v1/core/scorecards/evaluated-instances/{id}")
.header("x-siro-auth-token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.siro.ai/v1/core/scorecards/evaluated-instances/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-siro-auth-token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "scorecard_001",
"name": "Sales Performance Scorecard",
"recordingsEvaluatedCount": 150,
"recordingsTotalCount": 180,
"recordingsWonCount": 45,
"pointsPossible": 100,
"pointsEarned": 75,
"evaluatedNodes": [
{
"id": "node_001",
"name": "Conversation Quality",
"indexNumber": 1,
"parentId": "root",
"nodeType": "SECTION",
"metadata": {
"metricId": "metric_001",
"metricType": "CONVERSATION_TIME"
},
"pointsPossible": 100,
"pointsEarned": 75,
"color": "GREEN",
"description": "Metrics related to conversation quality and engagement",
"metricValue": 85,
"unit": "seconds",
"unitAbbreviated": "sec"
}
],
"metricRubrics": [
{
"scorecardNodeId": "node_001",
"scorecardMetricId": "metric_001",
"metricPointTotal": 100,
"minTarget": 0,
"maxTarget": 100,
"targetTolerance": 5
}
],
"sectionWeights": [
{
"scorecardNodeId": "node_001",
"weight": 25
}
],
"colorConfigurations": [
{
"color": "GREEN",
"lowRange": 80,
"highRange": 100
}
],
"filterByIds": [
"user_001",
"user_002"
],
"filterBy": "USER",
"startAt": "2024-01-01T00:00:00Z",
"endAt": "2024-01-31T23:59:59Z",
"description": "Comprehensive evaluation of sales call performance",
"tags": [
"sales",
"performance",
"q1"
],
"spotlightSummaries": [
{
"spotlightType": "strength",
"summary": "<string>",
"title": "<string>",
"score": 123,
"recordings": [
{
"id": "<string>",
"dateCreated": "<string>",
"score": 123,
"startTimeInMillis": 123,
"endTimeInMillis": 123,
"quote": "<string>",
"title": "<string>"
}
]
}
]
},
"cursor": "<string>",
"pageSize": 123,
"limit": 123,
"total": 123,
"hasNextPage": true
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"issues": [
{
"code": "<string>",
"path": [
"<string>"
],
"message": "<string>",
"expected": "<string>",
"received": "<string>"
}
],
"name": "ZodError"
}{
"error": "<string>"
}What this returns
A fully evaluated scorecard for one rep, team, organization, or recording over a date range — the overall score, every section and metric in the configured tree with raw values plus color-coded points, the rubric and weights used to compute them, and (forfilterBy=USER) AI-generated coaching spotlights with timestamped citations.
Where the {id} comes from
The {id} in the URL is a scorecard instance id, not a recording id. To find it, call Get scorecard instances for your organization and conversation type. Most orgs have one active instance per conversation type.
If you instead want raw metric values for a single recording (without running a saved scorecard configuration), use Get scorecard metric values with
filterBy=RECORDING. See the overview for guidance on when to pick which.Picking filterBy and filterByIds
filterBy | What filterByIds should be | Typical use |
|---|---|---|
RECORDING | One or more recording ids | Score a specific call against the saved scorecard |
USER | A Siro user id | Rep-level rollup across the date range; also returns spotlightSummaries |
TEAM | A team id | Team-level rollup |
ORGANIZATION | The org id (must match the instance’s org) | Org-wide rollup |
Auth scoping
The caller’sx-siro-auth-token (client app access token or Siro OAuth) must belong to the organization that owns the instance, or the caller must be a Siro/org/group admin. Non-admins requesting filterBy=TEAM must be a member or coach of that team; non-admins requesting filterBy=USER must be that user or coach the user’s team.Authorizations
Access token from POST https://auth.siro.ai/oauth2/token (client_credentials), or a Siro OAuth access token. Send x-siro-auth-token: <access-token>.