Get Session Score Analytics Distribution
curl --request GET \
--url https://api.pandaprobe.com/evaluations/analytics/session-scores/distribution \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.pandaprobe.com/evaluations/analytics/session-scores/distribution"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pandaprobe.com/evaluations/analytics/session-scores/distribution', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pandaprobe.com/evaluations/analytics/session-scores/distribution"
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))
}[
{
"bucket": 123,
"bucket_min": 123,
"bucket_max": 123,
"count": 123
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Session Scores
Get Session Score Analytics Distribution
Histogram of session score values for a metric.
Auth: Bearer + X-Project-ID | X-API-Key + X-Project-Name
GET
/
evaluations
/
analytics
/
session-scores
/
distribution
Get Session Score Analytics Distribution
curl --request GET \
--url https://api.pandaprobe.com/evaluations/analytics/session-scores/distribution \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.pandaprobe.com/evaluations/analytics/session-scores/distribution"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.pandaprobe.com/evaluations/analytics/session-scores/distribution', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pandaprobe.com/evaluations/analytics/session-scores/distribution"
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))
}[
{
"bucket": 123,
"bucket_min": 123,
"bucket_max": 123,
"count": 123
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
HTTPBearerApiKeyProjectIDProjectName
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Session metric name to get distribution for
ISO 8601 datetime.
ISO 8601 datetime.
Number of histogram buckets (1-100)
Required range:
1 <= x <= 100
