Skip to main content

Documentation Index

Fetch the complete documentation index at: https://www.getmaxim.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

How to Track Events?

Create events to mark specific points in time during your application execution. Capture additional metadata such as intermediate states and system milestones through events.

Attach an Event to Your Trace

await trace.event({
    id: "event-id",
    name: "travel-plan-emailed",
    tags: { "email": "JetSetJoe@travelo.com" },
});
Replace ‘trace.event’ with ‘span.event’ when you are creating events within a span
Events