Automation
Get v1automationworkflows analytics
GET
/
v1
/
automation
/
workflows
/
{workflowID}
/
analytics
cURL
curl --request GET \
--url https://api.wazapin.com/v1/automation/workflows/{workflowID}/analyticsconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/automation/workflows/{workflowID}/analytics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/automation/workflows/{workflowID}/analytics"
response = requests.get(url)
print(response.text){
"items": [
{
"avg_duration_seconds": 123,
"failed": 123,
"node_id": "<string>",
"node_type": "<string>",
"succeeded": 123,
"total_executions": 123,
"waiting": 123
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}⌘I
cURL
curl --request GET \
--url https://api.wazapin.com/v1/automation/workflows/{workflowID}/analyticsconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/automation/workflows/{workflowID}/analytics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/automation/workflows/{workflowID}/analytics"
response = requests.get(url)
print(response.text){
"items": [
{
"avg_duration_seconds": 123,
"failed": 123,
"node_id": "<string>",
"node_type": "<string>",
"succeeded": 123,
"total_executions": 123,
"waiting": 123
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}