Data Model
This document explains the core data entities in Untrace and how they relate to each other.Entity Relationships
Core Entities
Webhook Entity
The primary entity that manages webhook routing and configuration.Event Entity
Represents a webhook notification received by the system.Request Entity
Represents an attempt to deliver a webhook to a local development environment.RequestPayload Entity
Data Flow
1
Webhook Reception
- System creates an Event with the original request
- Event is associated with the target Webhook
- Initial status is set to ‘pending’
2
Processing
- System creates a Request for delivery attempt
- Request inherits Event and Webhook properties
- System attempts to deliver to local environment
3
Completion
- Request status updated to ‘completed’ or ‘failed’
- Event status updated based on Request outcome
- If failed and retries available, new Request created
Security Considerations
API Keys
API keys are required for webhook reception and authentication
Header Protection
Sensitive headers can be redacted via configuration
Size Limits
Request/response body size limits enforced
Organization Isolation
Organization-level isolation of data
Access Control
User-level access control to resources