Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

705 B
Raw Blame
/**
 * 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;
}