List by Entity
API Reference
List by Entity
Get all events for a specific entity β for user behavior tracking and rule-based fraud detection in gu1, with examples for list by entity use cases.
GET
List by Entity
Overview
Retrieves all events associated with a specific entity, providing a complete activity timeline. This endpoint searches across multiple entity identifiers (entity_id, entity_external_id, tax_id) to ensure you get all events related to the entity regardless of which identifier was used when creating the events.
Endpoint
Authentication
Requires a valid API key in the Authorization header:Path Parameters
UUID of the entity whose events you want to retrieve
Query Parameters
Maximum number of events to return per page (max: 1000)Example:
?limit=50Number of events to skip for paginationExample:
?offset=100Response
Indicates if the request was successful
Array of event objects sorted by timestamp (newest first)
Event UUID
Type of event
User identifier
Entity UUID
Event timestamp (ISO 8601)
Device identifier
IP address
Country code
Event-specific metadata
Record creation timestamp
Examples
Basic Query
With Pagination
Response Example
Error Responses
401 Unauthorized
403 Forbidden
404 Not Found
500 Internal Server Error
Use Cases
Entity Audit Trail
Generate a complete audit trail for an entity:Compliance Review
Review entity activity for compliance:Entity Timeline Visualization
Build a timeline for visualization:Risk Assessment
Assess entity risk based on event history:Pagination Best Practices
Load All Events
Next Steps
Create Event
Track new events
List Events
Query events with filters
Event Statistics
Get aggregated statistics
Risk Analysis
Analyze entity risk