get https://api.clustaar.io/bots//stats/step_dilution_stats
Get step dilution stats on a 30 days period in a graph format from the step_id set in query param
Response
attribute | type | description |
---|---|---|
data.nodes[] | object | node of the dilution graph. represent a step |
data.nodes[].id | string | id of node |
data.nodes[].name | string | name of node (step or story name) |
data.nodes[].in_target_story | boolean | true is the node is a step in the same story as the request step id |
data.nodes[].exit_story | boolean | is the node is outside the story (case of NLP fallback) |
data.edges[] | object | edge between the step and the nodes |
data.edge[].to_id | string | id of node in the nodes list |
data.edge[].to_name | string | name of node in the nodes list |
data.edge[].to_type | string | type of node in the nodes list |
data.edge[].dilution | float | % of dilution toward this node |
data.edge[].hit | int | number of hit toward this node |
data.edge[].type | string | LeafStepEdge/StepEdge. LeafStepEdge the edge gives information between 2 node, StepEdge aggregate several edges information (see detail) |
data.edge[].detail | list | if StepEdge, list of other StepEdges wich this one agregate. if LeafStepEdge, list of the type of link to this step, the number of hit for each one, and the % of repartition |
data.summary.in_story_count | int | number of hit toward step in the same story |
data.summary.out_story_count | int | number of hit toward other stories |
data.summary.exit_story_count | int | number of hit toward stories via nlp fallback |
summary.total_count | int | total of hit out of the step |
{
"data": {
"nodes": [
{
"id": "5b07d61bb7671500d2a4737b",
"name": "Cherche XP",
"in_target_story": true,
"exit_story": false
},
{
"id": "5b07d3f5b7671500d2a47378",
"name": "Data Bricolage",
"in_target_story": false,
"exit_story": false
},
{
"id": "5b07d417b7671500cf92491f",
"name": "La Barbe",
"in_target_story": false,
"exit_story": false
},
{
"id": "5bd81c2bb6452f000efe6f18",
"name": "Company Set",
"in_target_story": true,
"exit_story": false
}
],
"edges": [
{
"to_id": "5b07d3f5b7671500d2a47378",
"to_name": "Data Bricolage",
"dilution": 0,
"hits": 0,
"type": "LeafStepEdge",
"details": [],
"to_type": "step"
},
{
"to_id": "5b07d417b7671500cf92491f",
"to_name": "La Barbe",
"dilution": 0,
"hits": 0,
"type": "LeafStepEdge",
"details": [],
"to_type": "step"
},
{
"to_id": "5bd81c2bb6452f000efe6f18",
"to_name": "Company Set",
"dilution": 100,
"hits": 3,
"type": "LeafStepEdge",
"details": [
{
"link_type": "links_to_link",
"hits": 3,
"hits_percent": 100
}
],
"to_type": "step"
}
],
"summary": {
"in_story_count": 3,
"out_story_count": 0,
"exit_story_count": 0,
"total_count": 3
}
}
}