SentinelOne Interview Question

Write an API for a logging system.