Skip to main content
GET
/
v1
/
agent-analytics
/
logs
List Call Logs
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"
    }
  ]
}

Authorizations

Authorization
string
header
required

Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '

Query Parameters

jobId
string<uuid>
required

The unique identifier of the job.

Example:

"48f7656f-098b-4c43-b165-7cfd2cc8ac30"

Response

Successful response

success
boolean
Example:

true

data
object[]