Stories executions statistics

Get bot stories executions stats

Response

Attribute

Type

Description

data[].type

string

always "story_executions_stats"

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": "story_executions_stats",
            "storyID": "5b06d94cb76715002e6a12a6",
            "storyName": "hello world",
            "executionsCount": 42,
            "fallbacksCount": 0,
            "executionsPercent": 0.3962264151
        },
        {
            "type": "story_executions_stats",
            "storyID": "5c3f037a4525f0005fecd5e5",
            "storyName": "JOKE (event triggered)",
            "executionsCount": 34,
            "fallbacksCount": 0,
            "executionsPercent": 0.320754717
        },
        {
            "type": "story_executions_stats",
            "storyID": "5c3f0a474525f0005fecd609",
            "storyName": "PRICING",
            "executionsCount": 20,
            "fallbacksCount": 0,
            "executionsPercent": 0.1886792453
        },
        {
            "type": "story_executions_stats",
            "storyID": "5b07d3c7b7671500d2a47375",
            "storyName": "Expériences",
            "executionsCount": 5,
            "fallbacksCount": 2,
            "executionsPercent": 0.0471698113
        },
        {
            "type": "story_executions_stats",
            "storyID": "5b06d8fdd370e4000791a422",
            "storyName": "Fallback story",
            "executionsCount": 4,
            "fallbacksCount": 0,
            "executionsPercent": 0.0377358491
        },
        {
            "type": "story_executions_stats",
            "storyID": "5b07d3f5b7671500d2a47377",
            "storyName": "Data Bricolage",
            "executionsCount": 1,
            "fallbacksCount": 0,
            "executionsPercent": 0.0094339623
        }
    ]
}
Language