curl --request GET \
--url https://api.sprucecollective.co.uk/activity-logs \
--header 'Authorization: <api-key>'{
"has_more": true,
"logs": [
{
"activity_type": "<string>",
"created_at": "<string>",
"description": "<string>",
"id": "<string>",
"ip_address": "<string>",
"metadata": {},
"request_id": "<string>",
"resource_id": "<string>",
"resource_type": "<string>",
"session_id": "<string>",
"severity": "<string>",
"site_id": "<string>",
"user_agent": "<string>",
"user_id": "<string>"
}
],
"page": 123,
"page_size": 123,
"total": 123
}Get a paginated list of activity logs (admin only)
curl --request GET \
--url https://api.sprucecollective.co.uk/activity-logs \
--header 'Authorization: <api-key>'{
"has_more": true,
"logs": [
{
"activity_type": "<string>",
"created_at": "<string>",
"description": "<string>",
"id": "<string>",
"ip_address": "<string>",
"metadata": {},
"request_id": "<string>",
"resource_id": "<string>",
"resource_type": "<string>",
"session_id": "<string>",
"severity": "<string>",
"site_id": "<string>",
"user_agent": "<string>",
"user_id": "<string>"
}
],
"page": 123,
"page_size": 123,
"total": 123
}Type "Bearer" followed by a space and JWT token.
Page number
Page size
Filter by activity type
Filter by severity
Filter by IP address
Filter by start date (ISO 8601)
Filter by end date (ISO 8601)
OK
Show child attributes