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
string
required
UUID of the entity whose events you want to retrieve
Query Parameters
number
default:"100"
Maximum number of events to return per page (max: 1000)Example:
?limit=50number
default:"0"
Number of events to skip for paginationExample:
?offset=100Response
boolean
Indicates if the request was successful
array
Array of event objects sorted by timestamp (newest first)
string
Event UUID
string
Type of event
string
User identifier
string
Entity UUID
string
Event timestamp (ISO 8601)
string
Device identifier
string
IP address
string
Country code
object
Event-specific metadata
string
Record creation timestamp
object
object
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