Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

Flowyte secret API key (Authorization: Bearer flowyte_sk_live_…). Scope-gated; is scoped to your organization — a key can never reach another tenant. The listed scopes in each operation's apiKey requirement are the scopes that key must hold. The tokenUrl is nominal: keys are minted in the dashboard.

Path Parameters

agentId
string
required

The agent this resource is scoped to (the UUID returned by createAgent / listAgents).

Query Parameters

from
string<date-time>

Window start (RFC3339, inclusive). Defaults to the last 30 days when omitted.

to
string<date-time>

Window end (RFC3339, exclusive). Defaults to now when omitted.

channel
enum<string>

Restrict to one channel. Omit to include all channels.

Available options:
voice,
chat,
sms
avgTicketCents
integer

The customer's average ticket in integer cents (drives recoveredRevenueUsd). Takes precedence over avgTicketUsd.

Required range: x >= 0
avgTicketUsd
number

The customer's average ticket in dollars (used when avgTicketCents is absent).

Required range: x >= 0

Response

Analytics.

success
boolean
required
data
object
required

Post-call analytics. Includes answerStats — the answer-rate summary (missed/answered + after-hours split + captured count + recovered revenue, with the avg-ticket math).

message
string
errors
object[]