Analytics

Project metrics for a period

Dialogs, leads, conversion, response time and daily series. A dialog counts only when the assistant actually replied.

get/api/projects/{id}/analytics

Request

  • Base URL: https://dosai.pro
  • URL: https://dosai.pro/api/projects/{id}/analytics
  • Auth: HTTP bearer

Query parameters

fromstring date

YYYY-MM-DD (Asia/Almaty).

tostring date

YYYY-MM-DD (Asia/Almaty).

Response

Metrics.

rolestring

Caller's role on the project.

isOwnerboolean
avgResponseTimeSecnumber nullable
timeToConvertnumber nullable

Seconds from first message to lead.

leadsByStatusobject[]
leadsBySourceobject[]
leadsByTagobject[]
statusFunnelobject[]
dialogsByChannelobject
sourceBreakdownsobject
adCreativesobject[]
campaignsobject[]
qualityobject
hourlyHeatmapobject[]
topUnansweredobject[]
spendingobject

Owner only.

spendingUnavailableboolean

Owner only: spend could not be read, which is not the same as zero spend.

dataIncompleteboolean
heatmapDataIncompleteboolean
funnelDataIncompleteboolean

Changes

No recorded changes to this operation across all 1 revision of this API.