Skip to main content

Interface: ExportAgentConfigOptions

Defined in: packages/agentos/src/api/agentExportCore.ts:63

Options for exportAgentConfig and the instance methods export() / exportJSON().

Properties​

redactSecrets?​

optional redactSecrets: boolean

Defined in: packages/agentos/src/api/agentExportCore.ts:70

Default true: every secret string (by property name at any depth) becomes <<REDACTED>>, URLs lose their credentials, and a class instance becomes { '<<instance>>': '<constructor name>' }. false keeps every string; the object form then keeps instances by reference (JSON and YAML still carry the marker, because an instance cannot be serialized).