Read project analytics
Aggregated number activity and operational vitals. Returns disabled with null summary and empty data until a team owner or admin enables Analytics. Conversation rates use completed 24-hour direct-chat cohorts, booked in the period when they mature; missing or dropped cohort coverage returns null rates. Read means an observed read receipt, not a verified app open. No contact identifiers or message content. Linked Devices telemetry only; unsupported or unobserved numbers carry measured=false. Bucket timestamps use UTC. Activity series use hourly buckets for ranges up to 48 hours and daily buckets for longer ranges. Call series use daily buckets. Message metadata compares direct sends and completed conversations by type, coarse text/caption length, source, calling code and observed device count. Device observations are bounded samples. Calling-code shares describe conversations, not distinct people or location. Presence signals require existing subscriptions. Primary phone activity spans end at their last observed signal and close after 15 minutes without evidence. Quiet gaps end at the next observed signal. Duration sums and averages count completed intervals and exclude open or restart-censored intervals; they do not measure phone online/offline or power state. Metadata collection uses the current team opt-in; disable erases these aggregates and stale queued metadata is rejected. Calls aggregate retained records by their immutable original number/project ownership, including supported Official API calls; message measured/coverage fields do not apply to calls. Call series groups starts by UTC day. Answer rate excludes still-ringing calls; timing fields have explicit observation counts. Missed-call follow-up observes an answered outgoing call to the same pseudonymous contact within 24h, including after the requested end; only completed windows with a known contact form the denominator. It does not prove callback intent. Quality uses reported measurements, latest cumulative app reports per connection and per-call averages. Breakdown counts can overlap. Disabling hides this call view without deleting operational call history. Device analytics estimates sending client families from message ID prefixes, not verified hardware. Customer/account distributions count observed live direct messages, not unique people or installed devices; unknown is included. Older retained buckets lack device coverage and return null shares. Each number exposes at most 25 of its own device indexes, coarse reported class and last observed sending activity. A list change makes inventory membership/count unknown until another full list. Inventory is null in the combined summary. No recipient device identity or raw message ID is retained by this analytics block. Joint conversation breakdown rows retain first outgoing message type, length band, send source, inferred calling code and observed customer device-count class together with UTC completion bucket. Combine rows matching all selected categories to drill into countries and message attributes without inferring intersections from independent marginal totals. Calling codes do not establish current location and shared codes do not identify a unique country. Counts describe completed 24-hour conversation cohorts, not distinct customers. Rates and averages are null when coverage is missing, dropped or truncated. At most 4096 number/time/category groups are returned in one scope, prioritizing largest groups and marking truncation; raw reply latency sums support weighted aggregation. Connection/call vitals and live message platform distributions are separate measurements, not recipient-country filtered cohorts. Recipient country and recipient linked-device-count fields refine joint conversation metadata. Recipient activity remains hourly even for long date ranges, supporting incoming-message timing in an explicit time zone. Delivery signals do not prove reading; read signals are distinct. Presence subscriptions are best-effort around permitted direct sends, reuse a live bounded local lease, preserve observation-off policies and never poll every contact. Missing presence is Unknown, not offline.
Requires sessions:read. Project tokens only access resources in their own project.
curl --request GET \
--url https://api.polymorfa.com/platform/projects/{projectId}/analytics \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.polymorfa.com/platform/projects/{projectId}/analytics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.polymorfa.com/platform/projects/{projectId}/analytics"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.polymorfa.com/platform/projects/{projectId}/analytics"
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))
}false{
"data": {
"enabled": true,
"period": {
"start": 123,
"end": 123
},
"requestVitals": {
"requests": 1,
"failures": 1,
"errorRate": 0.5
},
"summary": {
"measured": true,
"observedHours": 1,
"lastObservedAt": 123,
"outgoingMessages": 1,
"incomingMessages": 1,
"sendAttempts": 1,
"sendFailures": 1,
"sendFailureRate": 0.5,
"businessReplies": 1,
"averageBusinessResponseMs": 1,
"onlineMs": 1,
"disconnects": 1,
"connectFailures": 1,
"streamErrors": 1,
"keepaliveTimeouts": 1,
"engagement": {
"windowHours": 24,
"completedConversations": 1,
"deliveredConversations": 1,
"readConversations": 1,
"repliedConversations": 1,
"deliveryRate": 0.5,
"readRate": 0.5,
"replyRate": 0.5,
"averageCustomerReplyMs": 1,
"complete": true,
"droppedConversations": 1,
"droppedRecords": 1,
"droppedReceiptJoins": 1
},
"totalNumbers": 1,
"measuredNumbers": 1,
"connectedNumbers": 1,
"messageAnalysis": {
"complete": true,
"segments": [
{
"dimension": "message_type",
"key": "<string>",
"sendAttempts": 1,
"sent": 1,
"sendFailures": 1,
"sendFailureRate": 0.5,
"completedConversations": 1,
"deliveredConversations": 1,
"readConversations": 1,
"repliedConversations": 1,
"deliveryRate": 0.5,
"readRate": 0.5,
"replyRate": 0.5,
"averageCustomerReplyMs": 1,
"shareOfConversations": 0.5,
"shareOfSends": 0.5,
"readRateInterval95": [
0.5
],
"replyRateInterval95": [
0.5
],
"readRateDifference": 0,
"replyRateDifference": 0
}
]
},
"customerActivity": {
"observed": true,
"onlineSignals": 1,
"offlineSignals": 1,
"typingSignals": 1
},
"accountActivity": {
"observed": true,
"primaryPhoneActivitySignals": 1,
"primaryPhoneActivePeriods": 1,
"completedPhoneActivityPeriods": 1,
"phoneActivityMs": 1,
"averagePhoneActivityMs": 1,
"phoneQuietGaps": 1,
"phoneQuietMs": 1,
"averagePhoneQuietMs": 1,
"primaryPhoneMessages": 1,
"otherDeviceMessages": 1,
"lastPrimaryPhoneAt": 123,
"primaryPhoneReplies": 1,
"otherDeviceReplies": 1,
"averagePrimaryPhoneResponseMs": 1,
"averageOtherDeviceResponseMs": 1
},
"responseQueue": {
"awaitingReply": 1,
"oldestWaitingMs": 1,
"observedAt": 123,
"complete": true
},
"calls": {
"total": 1,
"answered": 1,
"missed": 1,
"declined": 1,
"failed": 1,
"ringing": 1,
"answerRate": 0.5,
"talkSeconds": 1,
"timedAnswered": 1,
"timedPickup": 1,
"averageTalkSeconds": 1,
"medianTalkSeconds": 1,
"p95TalkSeconds": 1,
"averagePickupMs": 1,
"p95PickupMs": 1,
"shortAnswered": 1,
"video": 1,
"directions": {
"inbound": {
"total": 1,
"answered": 1,
"missed": 1,
"declined": 1,
"failed": 1,
"ringing": 1,
"answerRate": 0.5,
"talkSeconds": 1,
"timedAnswered": 1,
"timedPickup": 1,
"averageTalkSeconds": 1,
"medianTalkSeconds": 1,
"p95TalkSeconds": 1,
"averagePickupMs": 1,
"p95PickupMs": 1,
"shortAnswered": 1,
"video": 1
},
"outbound": {
"total": 1,
"answered": 1,
"missed": 1,
"declined": 1,
"failed": 1,
"ringing": 1,
"answerRate": 0.5,
"talkSeconds": 1,
"timedAnswered": 1,
"timedPickup": 1,
"averageTalkSeconds": 1,
"medianTalkSeconds": 1,
"p95TalkSeconds": 1,
"averagePickupMs": 1,
"p95PickupMs": 1,
"shortAnswered": 1,
"video": 1
}
},
"mediaQuality": {
"measuredCalls": 1,
"averageJitterMs": 1,
"averageRttMs": 1,
"packetsLost": 1
},
"appQuality": {
"measuredCalls": 1,
"averageJitterMs": 1,
"averageRttMs": 1,
"packetLossRate": 0.5,
"reconnects": 1
},
"endReasons": [
{
"code": "<string>",
"count": 1
}
],
"appErrors": [
{
"code": "<string>",
"count": 1
}
],
"transports": [
{
"code": "<string>",
"count": 1
}
],
"multiParticipantCalls": 1,
"followUp": {
"eligibleMissed": 1,
"returnedWithin24h": 1,
"rate": 0.5,
"averageDelayMs": 1,
"pendingWindow": 1,
"unknownContact": 1
}
},
"deviceAnalytics": {
"detector": "message_id_prefix/v1",
"measured": true,
"complete": true,
"observedBuckets": 1,
"customerMessages": 1,
"accountMessages": 1,
"customerPlatforms": [
{
"platform": "web",
"messages": 1,
"share": 0.5
}
],
"accountPlatforms": [
{
"platform": "web",
"messages": 1,
"share": 0.5
}
],
"inventory": {
"listObserved": true,
"listCurrent": true,
"observedAt": 123,
"deviceCount": 1,
"truncated": true,
"devices": [
{
"deviceIndex": 499,
"estimatedPlatform": "web",
"reportedClass": "phone",
"lastActiveAt": 123,
"listed": true
}
]
}
},
"conversationBreakdown": {
"measured": true,
"complete": true,
"observedBuckets": 1,
"droppedConversations": 1,
"truncated": true,
"buckets": [
{
"ts": 123,
"complete": true
}
],
"rows": [
{
"ts": 123,
"messageType": "text",
"textBand": "none",
"origin": "api",
"recipientCountry": "<string>",
"recipientDeviceCount": "primary_only",
"callingCode": "<string>",
"customerDevices": "single",
"completedConversations": 1,
"deliveredConversations": 1,
"readConversations": 1,
"repliedConversations": 1,
"replyLatencySumMs": 1,
"readRate": 0.5,
"replyRate": 0.5,
"averageCustomerReplyMs": 1
}
]
},
"recipientActivity": {
"measured": true,
"complete": true,
"observedBuckets": 1,
"droppedSignals": 1,
"truncated": true,
"rows": [
{
"ts": 123,
"recipientCountry": "<string>",
"recipientDeviceCount": "primary_only",
"deviceSource": "primary",
"incomingMessages": 1,
"deliveryReceipts": 1,
"readReceipts": 1,
"onlineSignals": 1,
"offlineSignals": 1,
"typingSignals": 1,
"lastSignalAt": 123,
"quietGaps": 1,
"quietGapMs": 1,
"averageQuietGapMs": 1
}
]
}
},
"numbers": [
{
"sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"backend": "<string>",
"status": "<string>",
"measured": true,
"observedHours": 1,
"lastObservedAt": 123,
"outgoingMessages": 1,
"incomingMessages": 1,
"sendAttempts": 1,
"sendFailures": 1,
"sendFailureRate": 0.5,
"businessReplies": 1,
"averageBusinessResponseMs": 1,
"onlineMs": 1,
"disconnects": 1,
"connectFailures": 1,
"streamErrors": 1,
"keepaliveTimeouts": 1,
"engagement": {
"windowHours": 24,
"completedConversations": 1,
"deliveredConversations": 1,
"readConversations": 1,
"repliedConversations": 1,
"deliveryRate": 0.5,
"readRate": 0.5,
"replyRate": 0.5,
"averageCustomerReplyMs": 1,
"complete": true,
"droppedConversations": 1,
"droppedRecords": 1,
"droppedReceiptJoins": 1
},
"messageAnalysis": {
"complete": true,
"segments": [
{
"dimension": "message_type",
"key": "<string>",
"sendAttempts": 1,
"sent": 1,
"sendFailures": 1,
"sendFailureRate": 0.5,
"completedConversations": 1,
"deliveredConversations": 1,
"readConversations": 1,
"repliedConversations": 1,
"deliveryRate": 0.5,
"readRate": 0.5,
"replyRate": 0.5,
"averageCustomerReplyMs": 1,
"shareOfConversations": 0.5,
"shareOfSends": 0.5,
"readRateInterval95": [
0.5
],
"replyRateInterval95": [
0.5
],
"readRateDifference": 0,
"replyRateDifference": 0
}
]
},
"customerActivity": {
"observed": true,
"onlineSignals": 1,
"offlineSignals": 1,
"typingSignals": 1
},
"accountActivity": {
"observed": true,
"primaryPhoneActivitySignals": 1,
"primaryPhoneActivePeriods": 1,
"completedPhoneActivityPeriods": 1,
"phoneActivityMs": 1,
"averagePhoneActivityMs": 1,
"phoneQuietGaps": 1,
"phoneQuietMs": 1,
"averagePhoneQuietMs": 1,
"primaryPhoneMessages": 1,
"otherDeviceMessages": 1,
"lastPrimaryPhoneAt": 123,
"primaryPhoneReplies": 1,
"otherDeviceReplies": 1,
"averagePrimaryPhoneResponseMs": 1,
"averageOtherDeviceResponseMs": 1
},
"responseQueue": {
"awaitingReply": 1,
"oldestWaitingMs": 1,
"observedAt": 123,
"complete": true
},
"projectName": "<string>",
"calls": {
"total": 1,
"answered": 1,
"missed": 1,
"declined": 1,
"failed": 1,
"ringing": 1,
"answerRate": 0.5,
"talkSeconds": 1,
"timedAnswered": 1,
"timedPickup": 1,
"averageTalkSeconds": 1,
"medianTalkSeconds": 1,
"p95TalkSeconds": 1,
"averagePickupMs": 1,
"p95PickupMs": 1,
"shortAnswered": 1,
"video": 1,
"directions": {
"inbound": {
"total": 1,
"answered": 1,
"missed": 1,
"declined": 1,
"failed": 1,
"ringing": 1,
"answerRate": 0.5,
"talkSeconds": 1,
"timedAnswered": 1,
"timedPickup": 1,
"averageTalkSeconds": 1,
"medianTalkSeconds": 1,
"p95TalkSeconds": 1,
"averagePickupMs": 1,
"p95PickupMs": 1,
"shortAnswered": 1,
"video": 1
},
"outbound": {
"total": 1,
"answered": 1,
"missed": 1,
"declined": 1,
"failed": 1,
"ringing": 1,
"answerRate": 0.5,
"talkSeconds": 1,
"timedAnswered": 1,
"timedPickup": 1,
"averageTalkSeconds": 1,
"medianTalkSeconds": 1,
"p95TalkSeconds": 1,
"averagePickupMs": 1,
"p95PickupMs": 1,
"shortAnswered": 1,
"video": 1
}
},
"mediaQuality": {
"measuredCalls": 1,
"averageJitterMs": 1,
"averageRttMs": 1,
"packetsLost": 1
},
"appQuality": {
"measuredCalls": 1,
"averageJitterMs": 1,
"averageRttMs": 1,
"packetLossRate": 0.5,
"reconnects": 1
},
"endReasons": [
{
"code": "<string>",
"count": 1
}
],
"appErrors": [
{
"code": "<string>",
"count": 1
}
],
"transports": [
{
"code": "<string>",
"count": 1
}
],
"multiParticipantCalls": 1,
"followUp": {
"eligibleMissed": 1,
"returnedWithin24h": 1,
"rate": 0.5,
"averageDelayMs": 1,
"pendingWindow": 1,
"unknownContact": 1
}
},
"deviceAnalytics": {
"detector": "message_id_prefix/v1",
"measured": true,
"complete": true,
"observedBuckets": 1,
"customerMessages": 1,
"accountMessages": 1,
"customerPlatforms": [
{
"platform": "web",
"messages": 1,
"share": 0.5
}
],
"accountPlatforms": [
{
"platform": "web",
"messages": 1,
"share": 0.5
}
],
"inventory": {
"listObserved": true,
"listCurrent": true,
"observedAt": 123,
"deviceCount": 1,
"truncated": true,
"devices": [
{
"deviceIndex": 499,
"estimatedPlatform": "web",
"reportedClass": "phone",
"lastActiveAt": 123,
"listed": true
}
]
}
},
"conversationBreakdown": {
"measured": true,
"complete": true,
"observedBuckets": 1,
"droppedConversations": 1,
"truncated": true,
"buckets": [
{
"ts": 123,
"complete": true
}
],
"rows": [
{
"ts": 123,
"messageType": "text",
"textBand": "none",
"origin": "api",
"recipientCountry": "<string>",
"recipientDeviceCount": "primary_only",
"callingCode": "<string>",
"customerDevices": "single",
"completedConversations": 1,
"deliveredConversations": 1,
"readConversations": 1,
"repliedConversations": 1,
"replyLatencySumMs": 1,
"readRate": 0.5,
"replyRate": 0.5,
"averageCustomerReplyMs": 1
}
]
},
"recipientActivity": {
"measured": true,
"complete": true,
"observedBuckets": 1,
"droppedSignals": 1,
"truncated": true,
"rows": [
{
"ts": 123,
"recipientCountry": "<string>",
"recipientDeviceCount": "primary_only",
"deviceSource": "primary",
"incomingMessages": 1,
"deliveryReceipts": 1,
"readReceipts": 1,
"onlineSignals": 1,
"offlineSignals": 1,
"typingSignals": 1,
"lastSignalAt": 123,
"quietGaps": 1,
"quietGapMs": 1,
"averageQuietGapMs": 1
}
]
}
}
],
"series": [
{
"ts": 123,
"outgoingMessages": 1,
"incomingMessages": 1,
"sendFailures": 1,
"businessReplies": 1,
"averageBusinessResponseMs": 1,
"onlineMs": 1,
"disconnects": 1,
"sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customerOnlineSignals": 1,
"customerTypingSignals": 1,
"primaryPhoneMessages": 1,
"otherDeviceMessages": 1,
"primaryPhoneReplies": 1,
"phoneActivePeriods": 1,
"completedPhoneActivityPeriods": 1,
"phoneActivityMs": 1,
"phoneQuietGaps": 1,
"phoneQuietMs": 1
}
],
"callSeries": [
{
"total": 1,
"answered": 1,
"missed": 1,
"declined": 1,
"failed": 1,
"ringing": 1,
"answerRate": 0.5,
"talkSeconds": 1,
"timedAnswered": 1,
"timedPickup": 1,
"averageTalkSeconds": 1,
"medianTalkSeconds": 1,
"p95TalkSeconds": 1,
"averagePickupMs": 1,
"p95PickupMs": 1,
"shortAnswered": 1,
"video": 1,
"sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ts": 123
}
]
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"request_log_url": "<string>"
},
"data": null,
"docs": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"request_log_url": "<string>"
},
"data": null,
"docs": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"request_log_url": "<string>"
},
"data": null,
"docs": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"request_log_url": "<string>"
},
"data": null,
"docs": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"request_log_url": "<string>"
},
"data": null,
"docs": "<string>"
}Authorizations
Send your team API key or project token as Authorization: Bearer <token>. The credential must have the required permissions. Project tokens can access only their own project.
Path Parameters
Identifier of the Polymorfa project that owns this resource.
Value constraints
| Constraint | Accepted input |
|---|---|
| Format | uuid |
Query Parameters
Identifier of the connected Polymorfa session.
Value constraints
| Constraint | Accepted input |
|---|---|
| Format | uuid |
| Number record UUID. |
Specifies start for this query parameter.
Value constraints
| Constraint | Accepted input |
|---|---|
| Numeric value | 0 or greater |
| Unix milliseconds; maximum range 366 days. |
x >= 0Specifies end for this query parameter.
Value constraints
| Constraint | Accepted input |
|---|---|
| Numeric value | 0 or greater |
| Unix milliseconds; maximum range 366 days. |
x >= 0Response
Success
Structured data carried by this object.
Show child attributes
Show child attributes
Was this page helpful?
curl --request GET \
--url https://api.polymorfa.com/platform/projects/{projectId}/analytics \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.polymorfa.com/platform/projects/{projectId}/analytics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.polymorfa.com/platform/projects/{projectId}/analytics"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.polymorfa.com/platform/projects/{projectId}/analytics"
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))
}false{
"data": {
"enabled": true,
"period": {
"start": 123,
"end": 123
},
"requestVitals": {
"requests": 1,
"failures": 1,
"errorRate": 0.5
},
"summary": {
"measured": true,
"observedHours": 1,
"lastObservedAt": 123,
"outgoingMessages": 1,
"incomingMessages": 1,
"sendAttempts": 1,
"sendFailures": 1,
"sendFailureRate": 0.5,
"businessReplies": 1,
"averageBusinessResponseMs": 1,
"onlineMs": 1,
"disconnects": 1,
"connectFailures": 1,
"streamErrors": 1,
"keepaliveTimeouts": 1,
"engagement": {
"windowHours": 24,
"completedConversations": 1,
"deliveredConversations": 1,
"readConversations": 1,
"repliedConversations": 1,
"deliveryRate": 0.5,
"readRate": 0.5,
"replyRate": 0.5,
"averageCustomerReplyMs": 1,
"complete": true,
"droppedConversations": 1,
"droppedRecords": 1,
"droppedReceiptJoins": 1
},
"totalNumbers": 1,
"measuredNumbers": 1,
"connectedNumbers": 1,
"messageAnalysis": {
"complete": true,
"segments": [
{
"dimension": "message_type",
"key": "<string>",
"sendAttempts": 1,
"sent": 1,
"sendFailures": 1,
"sendFailureRate": 0.5,
"completedConversations": 1,
"deliveredConversations": 1,
"readConversations": 1,
"repliedConversations": 1,
"deliveryRate": 0.5,
"readRate": 0.5,
"replyRate": 0.5,
"averageCustomerReplyMs": 1,
"shareOfConversations": 0.5,
"shareOfSends": 0.5,
"readRateInterval95": [
0.5
],
"replyRateInterval95": [
0.5
],
"readRateDifference": 0,
"replyRateDifference": 0
}
]
},
"customerActivity": {
"observed": true,
"onlineSignals": 1,
"offlineSignals": 1,
"typingSignals": 1
},
"accountActivity": {
"observed": true,
"primaryPhoneActivitySignals": 1,
"primaryPhoneActivePeriods": 1,
"completedPhoneActivityPeriods": 1,
"phoneActivityMs": 1,
"averagePhoneActivityMs": 1,
"phoneQuietGaps": 1,
"phoneQuietMs": 1,
"averagePhoneQuietMs": 1,
"primaryPhoneMessages": 1,
"otherDeviceMessages": 1,
"lastPrimaryPhoneAt": 123,
"primaryPhoneReplies": 1,
"otherDeviceReplies": 1,
"averagePrimaryPhoneResponseMs": 1,
"averageOtherDeviceResponseMs": 1
},
"responseQueue": {
"awaitingReply": 1,
"oldestWaitingMs": 1,
"observedAt": 123,
"complete": true
},
"calls": {
"total": 1,
"answered": 1,
"missed": 1,
"declined": 1,
"failed": 1,
"ringing": 1,
"answerRate": 0.5,
"talkSeconds": 1,
"timedAnswered": 1,
"timedPickup": 1,
"averageTalkSeconds": 1,
"medianTalkSeconds": 1,
"p95TalkSeconds": 1,
"averagePickupMs": 1,
"p95PickupMs": 1,
"shortAnswered": 1,
"video": 1,
"directions": {
"inbound": {
"total": 1,
"answered": 1,
"missed": 1,
"declined": 1,
"failed": 1,
"ringing": 1,
"answerRate": 0.5,
"talkSeconds": 1,
"timedAnswered": 1,
"timedPickup": 1,
"averageTalkSeconds": 1,
"medianTalkSeconds": 1,
"p95TalkSeconds": 1,
"averagePickupMs": 1,
"p95PickupMs": 1,
"shortAnswered": 1,
"video": 1
},
"outbound": {
"total": 1,
"answered": 1,
"missed": 1,
"declined": 1,
"failed": 1,
"ringing": 1,
"answerRate": 0.5,
"talkSeconds": 1,
"timedAnswered": 1,
"timedPickup": 1,
"averageTalkSeconds": 1,
"medianTalkSeconds": 1,
"p95TalkSeconds": 1,
"averagePickupMs": 1,
"p95PickupMs": 1,
"shortAnswered": 1,
"video": 1
}
},
"mediaQuality": {
"measuredCalls": 1,
"averageJitterMs": 1,
"averageRttMs": 1,
"packetsLost": 1
},
"appQuality": {
"measuredCalls": 1,
"averageJitterMs": 1,
"averageRttMs": 1,
"packetLossRate": 0.5,
"reconnects": 1
},
"endReasons": [
{
"code": "<string>",
"count": 1
}
],
"appErrors": [
{
"code": "<string>",
"count": 1
}
],
"transports": [
{
"code": "<string>",
"count": 1
}
],
"multiParticipantCalls": 1,
"followUp": {
"eligibleMissed": 1,
"returnedWithin24h": 1,
"rate": 0.5,
"averageDelayMs": 1,
"pendingWindow": 1,
"unknownContact": 1
}
},
"deviceAnalytics": {
"detector": "message_id_prefix/v1",
"measured": true,
"complete": true,
"observedBuckets": 1,
"customerMessages": 1,
"accountMessages": 1,
"customerPlatforms": [
{
"platform": "web",
"messages": 1,
"share": 0.5
}
],
"accountPlatforms": [
{
"platform": "web",
"messages": 1,
"share": 0.5
}
],
"inventory": {
"listObserved": true,
"listCurrent": true,
"observedAt": 123,
"deviceCount": 1,
"truncated": true,
"devices": [
{
"deviceIndex": 499,
"estimatedPlatform": "web",
"reportedClass": "phone",
"lastActiveAt": 123,
"listed": true
}
]
}
},
"conversationBreakdown": {
"measured": true,
"complete": true,
"observedBuckets": 1,
"droppedConversations": 1,
"truncated": true,
"buckets": [
{
"ts": 123,
"complete": true
}
],
"rows": [
{
"ts": 123,
"messageType": "text",
"textBand": "none",
"origin": "api",
"recipientCountry": "<string>",
"recipientDeviceCount": "primary_only",
"callingCode": "<string>",
"customerDevices": "single",
"completedConversations": 1,
"deliveredConversations": 1,
"readConversations": 1,
"repliedConversations": 1,
"replyLatencySumMs": 1,
"readRate": 0.5,
"replyRate": 0.5,
"averageCustomerReplyMs": 1
}
]
},
"recipientActivity": {
"measured": true,
"complete": true,
"observedBuckets": 1,
"droppedSignals": 1,
"truncated": true,
"rows": [
{
"ts": 123,
"recipientCountry": "<string>",
"recipientDeviceCount": "primary_only",
"deviceSource": "primary",
"incomingMessages": 1,
"deliveryReceipts": 1,
"readReceipts": 1,
"onlineSignals": 1,
"offlineSignals": 1,
"typingSignals": 1,
"lastSignalAt": 123,
"quietGaps": 1,
"quietGapMs": 1,
"averageQuietGapMs": 1
}
]
}
},
"numbers": [
{
"sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"backend": "<string>",
"status": "<string>",
"measured": true,
"observedHours": 1,
"lastObservedAt": 123,
"outgoingMessages": 1,
"incomingMessages": 1,
"sendAttempts": 1,
"sendFailures": 1,
"sendFailureRate": 0.5,
"businessReplies": 1,
"averageBusinessResponseMs": 1,
"onlineMs": 1,
"disconnects": 1,
"connectFailures": 1,
"streamErrors": 1,
"keepaliveTimeouts": 1,
"engagement": {
"windowHours": 24,
"completedConversations": 1,
"deliveredConversations": 1,
"readConversations": 1,
"repliedConversations": 1,
"deliveryRate": 0.5,
"readRate": 0.5,
"replyRate": 0.5,
"averageCustomerReplyMs": 1,
"complete": true,
"droppedConversations": 1,
"droppedRecords": 1,
"droppedReceiptJoins": 1
},
"messageAnalysis": {
"complete": true,
"segments": [
{
"dimension": "message_type",
"key": "<string>",
"sendAttempts": 1,
"sent": 1,
"sendFailures": 1,
"sendFailureRate": 0.5,
"completedConversations": 1,
"deliveredConversations": 1,
"readConversations": 1,
"repliedConversations": 1,
"deliveryRate": 0.5,
"readRate": 0.5,
"replyRate": 0.5,
"averageCustomerReplyMs": 1,
"shareOfConversations": 0.5,
"shareOfSends": 0.5,
"readRateInterval95": [
0.5
],
"replyRateInterval95": [
0.5
],
"readRateDifference": 0,
"replyRateDifference": 0
}
]
},
"customerActivity": {
"observed": true,
"onlineSignals": 1,
"offlineSignals": 1,
"typingSignals": 1
},
"accountActivity": {
"observed": true,
"primaryPhoneActivitySignals": 1,
"primaryPhoneActivePeriods": 1,
"completedPhoneActivityPeriods": 1,
"phoneActivityMs": 1,
"averagePhoneActivityMs": 1,
"phoneQuietGaps": 1,
"phoneQuietMs": 1,
"averagePhoneQuietMs": 1,
"primaryPhoneMessages": 1,
"otherDeviceMessages": 1,
"lastPrimaryPhoneAt": 123,
"primaryPhoneReplies": 1,
"otherDeviceReplies": 1,
"averagePrimaryPhoneResponseMs": 1,
"averageOtherDeviceResponseMs": 1
},
"responseQueue": {
"awaitingReply": 1,
"oldestWaitingMs": 1,
"observedAt": 123,
"complete": true
},
"projectName": "<string>",
"calls": {
"total": 1,
"answered": 1,
"missed": 1,
"declined": 1,
"failed": 1,
"ringing": 1,
"answerRate": 0.5,
"talkSeconds": 1,
"timedAnswered": 1,
"timedPickup": 1,
"averageTalkSeconds": 1,
"medianTalkSeconds": 1,
"p95TalkSeconds": 1,
"averagePickupMs": 1,
"p95PickupMs": 1,
"shortAnswered": 1,
"video": 1,
"directions": {
"inbound": {
"total": 1,
"answered": 1,
"missed": 1,
"declined": 1,
"failed": 1,
"ringing": 1,
"answerRate": 0.5,
"talkSeconds": 1,
"timedAnswered": 1,
"timedPickup": 1,
"averageTalkSeconds": 1,
"medianTalkSeconds": 1,
"p95TalkSeconds": 1,
"averagePickupMs": 1,
"p95PickupMs": 1,
"shortAnswered": 1,
"video": 1
},
"outbound": {
"total": 1,
"answered": 1,
"missed": 1,
"declined": 1,
"failed": 1,
"ringing": 1,
"answerRate": 0.5,
"talkSeconds": 1,
"timedAnswered": 1,
"timedPickup": 1,
"averageTalkSeconds": 1,
"medianTalkSeconds": 1,
"p95TalkSeconds": 1,
"averagePickupMs": 1,
"p95PickupMs": 1,
"shortAnswered": 1,
"video": 1
}
},
"mediaQuality": {
"measuredCalls": 1,
"averageJitterMs": 1,
"averageRttMs": 1,
"packetsLost": 1
},
"appQuality": {
"measuredCalls": 1,
"averageJitterMs": 1,
"averageRttMs": 1,
"packetLossRate": 0.5,
"reconnects": 1
},
"endReasons": [
{
"code": "<string>",
"count": 1
}
],
"appErrors": [
{
"code": "<string>",
"count": 1
}
],
"transports": [
{
"code": "<string>",
"count": 1
}
],
"multiParticipantCalls": 1,
"followUp": {
"eligibleMissed": 1,
"returnedWithin24h": 1,
"rate": 0.5,
"averageDelayMs": 1,
"pendingWindow": 1,
"unknownContact": 1
}
},
"deviceAnalytics": {
"detector": "message_id_prefix/v1",
"measured": true,
"complete": true,
"observedBuckets": 1,
"customerMessages": 1,
"accountMessages": 1,
"customerPlatforms": [
{
"platform": "web",
"messages": 1,
"share": 0.5
}
],
"accountPlatforms": [
{
"platform": "web",
"messages": 1,
"share": 0.5
}
],
"inventory": {
"listObserved": true,
"listCurrent": true,
"observedAt": 123,
"deviceCount": 1,
"truncated": true,
"devices": [
{
"deviceIndex": 499,
"estimatedPlatform": "web",
"reportedClass": "phone",
"lastActiveAt": 123,
"listed": true
}
]
}
},
"conversationBreakdown": {
"measured": true,
"complete": true,
"observedBuckets": 1,
"droppedConversations": 1,
"truncated": true,
"buckets": [
{
"ts": 123,
"complete": true
}
],
"rows": [
{
"ts": 123,
"messageType": "text",
"textBand": "none",
"origin": "api",
"recipientCountry": "<string>",
"recipientDeviceCount": "primary_only",
"callingCode": "<string>",
"customerDevices": "single",
"completedConversations": 1,
"deliveredConversations": 1,
"readConversations": 1,
"repliedConversations": 1,
"replyLatencySumMs": 1,
"readRate": 0.5,
"replyRate": 0.5,
"averageCustomerReplyMs": 1
}
]
},
"recipientActivity": {
"measured": true,
"complete": true,
"observedBuckets": 1,
"droppedSignals": 1,
"truncated": true,
"rows": [
{
"ts": 123,
"recipientCountry": "<string>",
"recipientDeviceCount": "primary_only",
"deviceSource": "primary",
"incomingMessages": 1,
"deliveryReceipts": 1,
"readReceipts": 1,
"onlineSignals": 1,
"offlineSignals": 1,
"typingSignals": 1,
"lastSignalAt": 123,
"quietGaps": 1,
"quietGapMs": 1,
"averageQuietGapMs": 1
}
]
}
}
],
"series": [
{
"ts": 123,
"outgoingMessages": 1,
"incomingMessages": 1,
"sendFailures": 1,
"businessReplies": 1,
"averageBusinessResponseMs": 1,
"onlineMs": 1,
"disconnects": 1,
"sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customerOnlineSignals": 1,
"customerTypingSignals": 1,
"primaryPhoneMessages": 1,
"otherDeviceMessages": 1,
"primaryPhoneReplies": 1,
"phoneActivePeriods": 1,
"completedPhoneActivityPeriods": 1,
"phoneActivityMs": 1,
"phoneQuietGaps": 1,
"phoneQuietMs": 1
}
],
"callSeries": [
{
"total": 1,
"answered": 1,
"missed": 1,
"declined": 1,
"failed": 1,
"ringing": 1,
"answerRate": 0.5,
"talkSeconds": 1,
"timedAnswered": 1,
"timedPickup": 1,
"averageTalkSeconds": 1,
"medianTalkSeconds": 1,
"p95TalkSeconds": 1,
"averagePickupMs": 1,
"p95PickupMs": 1,
"shortAnswered": 1,
"video": 1,
"sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ts": 123
}
]
}
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"request_log_url": "<string>"
},
"data": null,
"docs": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"request_log_url": "<string>"
},
"data": null,
"docs": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"request_log_url": "<string>"
},
"data": null,
"docs": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"request_log_url": "<string>"
},
"data": null,
"docs": "<string>"
}{
"error": {
"type": "invalid_request_error",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"request_id": "<string>",
"request_log_url": "<string>"
},
"data": null,
"docs": "<string>"
}