@ -587,7 +587,8 @@
|
||||
"Result ID",
|
||||
"Random ID",
|
||||
"Phone number",
|
||||
"Contact name"
|
||||
"Contact name",
|
||||
"Transcript"
|
||||
]
|
||||
}
|
||||
},
|
||||
@ -2679,10 +2680,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/v1/typebots/{typebotId}/analytics/totalAnswersInBlocks": {
|
||||
"/v1/typebots/{typebotId}/analytics/inDepthData": {
|
||||
"get": {
|
||||
"operationId": "analytics-getTotalAnswers",
|
||||
"summary": "List total answers in blocks",
|
||||
"operationId": "analytics-getInDepthAnalyticsData",
|
||||
"summary": "List total answers in blocks and off-default paths visited edges",
|
||||
"tags": [
|
||||
"Analytics"
|
||||
],
|
||||
@ -2753,123 +2754,8 @@
|
||||
"total"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"totalAnswers"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Invalid input data",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/error.BAD_REQUEST"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"description": "Authorization not provided",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/error.UNAUTHORIZED"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "Insufficient access",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/error.FORBIDDEN"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "Not found",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/error.NOT_FOUND"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal server error",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/error.INTERNAL_SERVER_ERROR"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/v1/typebots/{typebotId}/analytics/totalVisitedEdges": {
|
||||
"get": {
|
||||
"operationId": "analytics-getTotalVisitedEdges",
|
||||
"summary": "List total edges used in results",
|
||||
"tags": [
|
||||
"Analytics"
|
||||
],
|
||||
"security": [
|
||||
{
|
||||
"Authorization": []
|
||||
}
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "typebotId",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"in": "query",
|
||||
"name": "timeFilter",
|
||||
"schema": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"today",
|
||||
"last7Days",
|
||||
"last30Days",
|
||||
"monthToDate",
|
||||
"lastMonth",
|
||||
"yearToDate",
|
||||
"allTime"
|
||||
],
|
||||
"default": "last7Days"
|
||||
}
|
||||
},
|
||||
{
|
||||
"in": "query",
|
||||
"name": "timeZone",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successful response",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"totalVisitedEdges": {
|
||||
},
|
||||
"offDefaultPathVisitedEdges": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
@ -2889,7 +2775,8 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"totalVisitedEdges"
|
||||
"totalAnswers",
|
||||
"offDefaultPathVisitedEdges"
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -5022,7 +4909,8 @@
|
||||
"Result ID",
|
||||
"Random ID",
|
||||
"Phone number",
|
||||
"Contact name"
|
||||
"Contact name",
|
||||
"Transcript"
|
||||
]
|
||||
}
|
||||
},
|
||||
@ -8480,7 +8368,8 @@
|
||||
"Result ID",
|
||||
"Random ID",
|
||||
"Phone number",
|
||||
"Contact name"
|
||||
"Contact name",
|
||||
"Transcript"
|
||||
]
|
||||
}
|
||||
},
|
||||
@ -11203,43 +11092,25 @@
|
||||
"type": "boolean",
|
||||
"nullable": true
|
||||
},
|
||||
"lastChatSessionId": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"answers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"createdAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"resultId": {
|
||||
"type": "string"
|
||||
},
|
||||
"blockId": {
|
||||
"type": "string"
|
||||
},
|
||||
"groupId": {
|
||||
"type": "string"
|
||||
},
|
||||
"variableId": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"content": {
|
||||
"type": "string"
|
||||
},
|
||||
"storageUsed": {
|
||||
"type": "number",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"createdAt",
|
||||
"resultId",
|
||||
"blockId",
|
||||
"groupId",
|
||||
"variableId",
|
||||
"content",
|
||||
"storageUsed"
|
||||
"content"
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -11252,6 +11123,7 @@
|
||||
"isCompleted",
|
||||
"hasStarted",
|
||||
"isArchived",
|
||||
"lastChatSessionId",
|
||||
"answers"
|
||||
]
|
||||
}
|
||||
@ -11515,43 +11387,25 @@
|
||||
"type": "boolean",
|
||||
"nullable": true
|
||||
},
|
||||
"lastChatSessionId": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"answers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"createdAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"resultId": {
|
||||
"type": "string"
|
||||
},
|
||||
"blockId": {
|
||||
"type": "string"
|
||||
},
|
||||
"groupId": {
|
||||
"type": "string"
|
||||
},
|
||||
"variableId": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"content": {
|
||||
"type": "string"
|
||||
},
|
||||
"storageUsed": {
|
||||
"type": "number",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"createdAt",
|
||||
"resultId",
|
||||
"blockId",
|
||||
"groupId",
|
||||
"variableId",
|
||||
"content",
|
||||
"storageUsed"
|
||||
"content"
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -11564,6 +11418,7 @@
|
||||
"isCompleted",
|
||||
"hasStarted",
|
||||
"isArchived",
|
||||
"lastChatSessionId",
|
||||
"answers"
|
||||
]
|
||||
}
|
||||
@ -17011,7 +16866,8 @@
|
||||
"Result ID",
|
||||
"Random ID",
|
||||
"Phone number",
|
||||
"Contact name"
|
||||
"Contact name",
|
||||
"Transcript"
|
||||
]
|
||||
}
|
||||
},
|
||||
@ -22665,7 +22521,8 @@
|
||||
"Result ID",
|
||||
"Random ID",
|
||||
"Phone number",
|
||||
"Contact name"
|
||||
"Contact name",
|
||||
"Transcript"
|
||||
]
|
||||
}
|
||||
},
|
||||
@ -25492,7 +25349,8 @@
|
||||
"Result ID",
|
||||
"Random ID",
|
||||
"Phone number",
|
||||
"Contact name"
|
||||
"Contact name",
|
||||
"Transcript"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user