Type Alias: AnnotationScope
AnnotationScope =
"run"|"stage"|"ai_call"|string&object
Defined in: packages/workflow-engine/src/persistence/interface.ts:196
Annotation scope — which entity within a run this annotation describes.
- "run": run-level (e.g., trigger context)
- "stage": tied to a specific stage execution (linked via workflowStageRecordId)
- "ai_call": tied to a specific AI call (custom; not used by the engine itself)
- other strings allowed for consumer-defined scopes