Aproveitamento do contexto
curl --request GET \
--url https://{space}.{region}.api.niadra.com/v1/context-useimport requests
url = "https://{space}.{region}.api.niadra.com/v1/context-use"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{space}.{region}.api.niadra.com/v1/context-use', 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://{space}.{region}.api.niadra.com/v1/context-use",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://{space}.{region}.api.niadra.com/v1/context-use"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{space}.{region}.api.niadra.com/v1/context-use")
.asString();require 'uri'
require 'net/http'
url = URI("https://{space}.{region}.api.niadra.com/v1/context-use")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"since": "2026-09-15",
"until": "2026-09-22",
"group_by": [
"vendor"
],
"buckets": [
{
"vendor": "voice-platform",
"sessions": 4120,
"deliveries": 4302,
"deliveries_used": 3054,
"questions": 9810,
"repeated": 588,
"contradicted": 12,
"transfers": 410,
"transfers_unread": 31,
"late_deliveries": 18,
"no_context": 133,
"not_measured": 57,
"selection_misses": 9,
"recontacts": 96,
"usage_rate": {
"value": 0.71,
"low": 0.69,
"high": 0.72,
"n": 4302
},
"repetition_rate": {
"value": 0.06,
"low": 0.055,
"high": 0.065,
"n": 9810
},
"transfer_unread_rate": {
"value": 0.076,
"low": 0.052,
"high": 0.106,
"n": 410
},
"recontact_rate": {
"value": 0.023,
"low": 0.019,
"high": 0.028,
"n": 4120
}
}
],
"review": [
{
"signal": "used",
"judged": 212,
"confirmed": 197,
"agreement": {
"value": 0.93,
"low": 0.89,
"high": 0.96,
"n": 212
}
},
{
"signal": "repeated",
"judged": 148,
"confirmed": 131,
"agreement": {
"value": 0.89,
"low": 0.82,
"high": 0.93,
"n": 148
}
},
{
"signal": "contradicted",
"judged": 9,
"confirmed": 8,
"agreement": {
"value": 0.89,
"low": 0.57,
"high": 0.98,
"n": 9
}
},
{
"signal": "selection_miss",
"judged": 0,
"confirmed": 0,
"agreement": null
}
]
}{
"code": "<string>",
"status": 123,
"title": "<string>",
"detail": "<string>",
"request_id": "<string>",
"type": "about:blank"
}Padrões, medição e uso
Aproveitamento do contexto
Uso, repetição, contradição e transferência sem leitura, agrupados por fonte, fornecedor, canal ou view.
GET
/
v1
/
context-use
Aproveitamento do contexto
curl --request GET \
--url https://{space}.{region}.api.niadra.com/v1/context-useimport requests
url = "https://{space}.{region}.api.niadra.com/v1/context-use"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{space}.{region}.api.niadra.com/v1/context-use', 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://{space}.{region}.api.niadra.com/v1/context-use",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://{space}.{region}.api.niadra.com/v1/context-use"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{space}.{region}.api.niadra.com/v1/context-use")
.asString();require 'uri'
require 'net/http'
url = URI("https://{space}.{region}.api.niadra.com/v1/context-use")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"since": "2026-09-15",
"until": "2026-09-22",
"group_by": [
"vendor"
],
"buckets": [
{
"vendor": "voice-platform",
"sessions": 4120,
"deliveries": 4302,
"deliveries_used": 3054,
"questions": 9810,
"repeated": 588,
"contradicted": 12,
"transfers": 410,
"transfers_unread": 31,
"late_deliveries": 18,
"no_context": 133,
"not_measured": 57,
"selection_misses": 9,
"recontacts": 96,
"usage_rate": {
"value": 0.71,
"low": 0.69,
"high": 0.72,
"n": 4302
},
"repetition_rate": {
"value": 0.06,
"low": 0.055,
"high": 0.065,
"n": 9810
},
"transfer_unread_rate": {
"value": 0.076,
"low": 0.052,
"high": 0.106,
"n": 410
},
"recontact_rate": {
"value": 0.023,
"low": 0.019,
"high": 0.028,
"n": 4120
}
}
],
"review": [
{
"signal": "used",
"judged": 212,
"confirmed": 197,
"agreement": {
"value": 0.93,
"low": 0.89,
"high": 0.96,
"n": 212
}
},
{
"signal": "repeated",
"judged": 148,
"confirmed": 131,
"agreement": {
"value": 0.89,
"low": 0.82,
"high": 0.93,
"n": 148
}
},
{
"signal": "contradicted",
"judged": 9,
"confirmed": 8,
"agreement": {
"value": 0.89,
"low": 0.57,
"high": 0.98,
"n": 9
}
},
{
"signal": "selection_miss",
"judged": 0,
"confirmed": 0,
"agreement": null
}
]
}{
"code": "<string>",
"status": 123,
"title": "<string>",
"detail": "<string>",
"request_id": "<string>",
"type": "about:blank"
}Parâmetros de consulta
Resposta
Um grupo para cada combinação das dimensões de group_by.

