Skip to main content
GET
/
api
/
v1
/
analytics
/
sessions
Cross-channel conversation-session metrics
curl --request GET \
  --url https://{subdomain}.mihu.ai/api/v1/analytics/sessions \
  --header 'Authorization: Bearer <token>'
{
  "meta": {},
  "totals": {},
  "rates": {},
  "duration_sec": {},
  "messages_per_session": {},
  "latency_ms": {},
  "previous": {}
}

Documentation Index

Fetch the complete documentation index at: https://developers.mindhunters.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Query Parameters

from
string<date-time>
required
to
string<date-time>
required
compare_prev
boolean
default:false
granularity
enum<string>
default:total
Available options:
total
channel
string
Example:

"call,whatsapp"

agent_uuid
string<uuid>
campaign_uuid
string<uuid>

Response

OK

meta
object
totals
object
rates
object
duration_sec
object
messages_per_session
object
latency_ms
object

p50/p95 in ms; null when no voice records

previous
object