The best way to control Claude Code, Codex and more from any computer or phone

main
ts 14 lines 456 Bytes
Raw
1 import * as Axiom from "@alchemy.run/axiom";
2
3 // #region show
4 export const Traces = Axiom.Dataset("Traces", { name: "chat-traces", kind: "otel:traces:v1" });
5 export const Logs = Axiom.Dataset("Logs", { name: "chat-logs", kind: "otel:logs:v1" });
6
7 export const Ingest = Axiom.ApiToken("Ingest", {
8 name: "chat-ingest",
9 datasetCapabilities: {
10 "chat-traces": { ingest: ["create"] },
11 "chat-logs": { ingest: ["create"] },
12 },
13 });
14 // #endregion show