curl --request GET \
--url http://localhost:8080/api/v1/activity-logs \
--header 'Authorization: Basic <encoded-value>'
{
"status": "success",
"data": [
{
"id": 1,
"created_at": "2025-08-28T10:00:00Z",
"updated_at": "2025-08-28T10:00:00Z",
"activity_type": "agent_login",
"activity_description": "Agent John Doe logged in",
"actor_id": 1,
"target_model_type": "user",
"target_model_id": 1,
"ip": "192.168.1.1"
}
]
}
curl --request GET \
--url http://localhost:8080/api/v1/activity-logs \
--header 'Authorization: Basic <encoded-value>'
{
"status": "success",
"data": [
{
"id": 1,
"created_at": "2025-08-28T10:00:00Z",
"updated_at": "2025-08-28T10:00:00Z",
"activity_type": "agent_login",
"activity_description": "Agent John Doe logged in",
"actor_id": 1,
"target_model_type": "user",
"target_model_id": 1,
"ip": "192.168.1.1"
}
]
}
Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>
Activity logs retrieved successfully
The response is of type object
.
Was this page helpful?