Skip to main content

Event Properties

FieldValue
event"document.generated"
confidentialboolean
payloadobject
FieldTypeDescription
reason"generation" | "regeneration"Was this a newly generated document or a update to existing?
durationMsnumberDuration of the generation request
documentIdstringUnique document identifier
documentType"legacy" | "guided"Document generation type
documentNamestringDocument name or title
outputLanguagestringOutput language code (e.g., “en”, “de”)
templateType"built-in" | "custom" | "schema-driven"Type of template used: built-in, custom, or schema-driven
templateIdstringTemplate identifier (either ref for built-in or customTemplateId for custom)
documentLabelsRecord<string, string>Key/value labels attached to the document
interactionIdstringUnique interaction identifier
interactionStateInteractionStateCurrent state of the interaction

Example