Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Document Cognition Service
* OpenAPI spec version: 1.0.0
*/
import type { AiFeature } from './aiFeature';
import type { CompletionUsageEntity } from './completionUsageEntity';
import type { MacroUserIdStr } from './macroUserIdStr';
import type { Usage } from './usage';
/**
* User and feature attribution for one invocation.
*/
export interface CompletionUsage {
/** Measured usage and resolved cost. */
cost: Usage;
/** Related entity, if any. */
entity?: CompletionUsageEntity;
/** Feature that performed the invocation. */
feature: AiFeature;
/** User the invocation was performed for. */
user: MacroUserIdStr;
}