Keys authenticate event ingestion from northstar. The full value is shown once at creation.
Use this key as cloudApiKey when configuring @traice/sdk.
Keys with the same team share a team budget on the Budgets page.
| Name | Preview | Team | Created | Last used | Status | |
|---|---|---|---|---|---|---|
| Agents production | lm_live_agt1… | agents | 10/22/2026 | 11/7/2026, 7:50:15 PM | Active | |
| Production | lm_live_prd1… | support-platform | 9/25/2026 | 11/7/2026, 8:07:15 PM | Active | |
| Staging | lm_live_stg1… | platform | 9/17/2026 | 11/7/2026, 8:24:15 PM | Active | |
| Development | lm_live_dev1… | platform | 9/4/2026 | 11/7/2026, 8:41:15 PM | Active |
Swap in the key you copied above, choose your language, then run the example. The event appears on Logs within seconds.
npm install @traice/sdk openaiimport OpenAI from "openai";
import { configure, flush, meter } from "@traice/sdk";
configure({
adapters: ["cloud"],
cloudApiKey: "lm_live_YOUR_API_KEY",
cloudEndpoint: "https://staging.runtraice.com/api/v1/events",
});
const openai = new OpenAI();
await meter(
() => openai.chat.completions.create({
model: "gpt-4o-mini",
messages: [{ role: "user", content: "Say hello" }],
}),
{ feature: "hello", tenantId: "customer_42" },
);
await flush();Prefer the SDK or want the full setup guide? Open the install guide.