Daily stories executions statistics

Get bot steps executions stats

Response

Attribute

Type

Description

data[].type

string

always "timed_story_executions_stats"

data[].date

string

date of statistic "2019-01-24"

data[].storyID

string

the story ID

data[].storyName

string

the story name

data[].executionsCount

int

the number of hit of the story

data[].fallbacksCount

int

the number of hit of the story’s fallback step

data[].executionsPercent

float

rate of hit of the story on the total hit of stories for the day

{
    "data": [
        {
            "type": "timed_story_executions_stats",
            "storyID": "5b06d94cb76715002e6a12a6",
            "storyName": "hello world",
            "executionsCount": 2,
            "fallbacksCount": 0,
            "executionsPercent": 0.6666666667,
            "date": "2019-01-24"
        },
        {
            "type": "timed_story_executions_stats",
            "storyID": "5b06d94cb76715002e6a12a6",
            "storyName": "hello world",
            "executionsCount": 1,
            "fallbacksCount": 0,
            "executionsPercent": 1,
            "date": "2019-01-27"
        },
        {
            "type": "timed_story_executions_stats",
            "storyID": "5b06d94cb76715002e6a12a6",
            "storyName": "hello world",
            "executionsCount": 6,
            "fallbacksCount": 0,
            "executionsPercent": 0.4285714286,
            "date": "2019-01-28"
        },
        {
            "type": "timed_story_executions_stats",
            "storyID": "5c3f037a4525f0005fecd5e5",
            "storyName": "JOKE (event triggered)",
            "executionsCount": 16,
            "fallbacksCount": 0,
            "executionsPercent": 1,
            "date": "2019-01-23"
        },
        {
            "type": "timed_story_executions_stats",
            "storyID": "5c3f037a4525f0005fecd5e5",
            "storyName": "JOKE (event triggered)",
            "executionsCount": 1,
            "fallbacksCount": 0,
            "executionsPercent": 0.3333333333,
            "date": "2019-01-24"
        },
        {
            "type": "timed_story_executions_stats",
            "storyID": "5c3f037a4525f0005fecd5e5",
            "storyName": "JOKE (event triggered)",
            "executionsCount": 5,
            "fallbacksCount": 0,
            "executionsPercent": 0.3571428571,
            "date": "2019-01-28"
        }
    ]
}
Language