Client SDKs
Markdown: this page · all of the docs · index
Official SDKs wrap POST /v1/events so you do not have to. Every one of them behaves the same way: the same validation limits, one retry on 5xx and network failures, and an Idempotency-Key generated per event and reused across that retry so a retry can never double-post.
None of them are required. The API is plain JSON over HTTPS and works from any language — see the API Reference.
Installation
dotnet add package LogDucknpm install logduckpip install logduckSending your first event
// Registered once at startup, then injected wherever you need it.public class CheckoutService(ILogDuckClient logDuck){ public async Task OnOrderPlaced(string orderId) => await logDuck.SendEventAsync(new LogDuckEvent { Type = "order.placed", Subject = orderId });}Naming your event type
The server lowercases type and requires it to match ^[a-z][a-z0-9_.]*$ — letters, digits, underscores and dots, starting with a letter. So order.placed works and order-placed is rejected with a 400. Dots are the conventional separator.