curl --request GET \
--url https://api.tryhamsa.com/v1/agent-analytics/logs \
--header 'Authorization: <api-key>'{
"success": true,
"data": [
{
"id": "8b4c8c7d-8b4c-4c7d-8b4c-4c7d8b4c7d8b",
"type": "ERROR",
"category": "call",
"nodeId": "node_id",
"message": "Error message",
"payload": {},
"timestamp": "2023-07-01T00:00:00.000Z",
"jobId": "8b4c8c7d-8b4c-4c7d-8b4c-4c7d8b4c7d8b",
"createdAt": "2023-07-01T00:00:00.000Z",
"updatedAt": "2023-07-01"
}
]
}Retrieves a list of call logs for a specific job.
curl --request GET \
--url https://api.tryhamsa.com/v1/agent-analytics/logs \
--header 'Authorization: <api-key>'{
"success": true,
"data": [
{
"id": "8b4c8c7d-8b4c-4c7d-8b4c-4c7d8b4c7d8b",
"type": "ERROR",
"category": "call",
"nodeId": "node_id",
"message": "Error message",
"payload": {},
"timestamp": "2023-07-01T00:00:00.000Z",
"jobId": "8b4c8c7d-8b4c-4c7d-8b4c-4c7d8b4c7d8b",
"createdAt": "2023-07-01T00:00:00.000Z",
"updatedAt": "2023-07-01"
}
]
}Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token
The unique identifier of the job.
"48f7656f-098b-4c43-b165-7cfd2cc8ac30"
Was this page helpful?