Click or drag to resize

Audit Fields

The Audit type exposes the following members.

Fields
 NameDescription
Public fieldAIAgentName For AI Chat events, name of the AI agent
Public fieldAICalls For AI Chat events, number of API calls of the exchange
Public fieldAICost For AI Chat events, cost of the exchange based on the provider token costs
Public fieldAIInputTokens For AI Chat events, number of input tokens of the exchange
Public fieldAIMessageCount For AI Chat events, number of messages in the chat
Public fieldAIModel For AI Chat events, name of the AI model used
Public fieldAIOutputTokens For AI Chat events, number of output tokens of the exchange
Public fieldAIProvider For AI Chat events, name of the AI provider used
Public fieldAIToolCalls For AI Chat events, number of tool calls of the exchange
Public fieldStatic memberAuditScriptTemplate Default template of the Audit Script proposed in the server configuration
Public fieldStatic memberCheckTableCreation If true, the existence of the 'sr_audit' table is checked (and the table created or upgraded if necessary) on the next audit. Reset to false after the first check.
Public fieldDetail Detail of the event
Public fieldDuration Duration in seconds for events without a Report (e.g. AI Chat exchanges). When Report is set, the report execution duration is used instead.
Public fieldError Error message if the event is an error
Public fieldPath Path involved in the event (e.g. report file path)
Public fieldReport Report involved in the event or null
Public fieldSchedule Report schedule involved in the event or null
Public fieldType Type of the audit event
Public fieldUser Security user involved in the event
Top
See Also