Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Generative AI Controller tables

Generative AI Controller use dedicated tables to log AI activities and track Now Assist usage across Now Assist capabilities.

Generative AI Log [sys_generative_ai_log] table

Logs generative AI prompts, responses, and edited responses for debugging LLM calls. HR-related log entries are restricted to HR administrator to protect sensitive information.

ColumnData typeDescription
Additional DataStringContains concatenated values for actions performed on the generated LLM response, such as copied or edited. This field is populated through the feedback API.
CallerStringContains information about the calling application that generated the log entry.
Completed AtDate/TimeTimestamp when the generative AI execution completed.
ConversationReferenceReference to the conversation this log is part of.
CreatedDate/TimeDate and time when the log entry was created.
Created ByStringContains user information that initiated the execution or flow.
DefinitionReferenceReference to the capability definition responsible for generating the log entry.
Derived ScopeReferenceAssociated scope of the application that generated the log entry.
DomainDomain IDDomain associated with the execution that generated the log entry.
Domain PathDomain PathPath associated with the domain from where the capability is executed. When domain separation is enabled, this column is automatically populated by the platform.
Edited ResponseStringCaptures the edited version of the response when a user modifies it.
ErrorStringError message, if the request encountered an error.
Error CodeStringError code associated with the error message.
ExternalTrue/FalseError code associated with the error message.
FeedbackChoiceFeedback on the LLM response. Possible values: Accepted, Rejected, Ignored, SlightlyPositive, SlightlyNegative, LikelyPositive.
Feedback TimestampDate/TimeTimestamp when the feedback was submitted.
Gen AI Usage LogReferenceReference to the Gen AI Usage Log.
Metadata DocumentDocument IDDocument ID for metadata used for the requested execution, if only a single document is used.
Metadata DocumentsGlide ListDocument IDs for metadata used for the requested execution, if multiple documents are used.
Metadata TableTable NameTable name for the metadata.
Model NameStringName of the model used for processing the generative AI request, such as gpt_large, claude_small, or gemini_small.
Model VersionStringVersion of the ServiceNow LLM model used.
Output MetadataStringMetadata received from the model or LLM, including tokens, processing time, and response time.
PromptStringFinal prompt passed to the model.
Prompt ConfigReferenceReference to the prompt configuration, which contains settings such as model and temperature used in the request to the LLM.
Prompt Token CountIntegerNumber of tokens used in the prompt.
ResponseStringThe response generated by the LLM.
Response Token CountIntegerNumber of tokens in the response.
Skill Config IdReferenceReference to the skill configuration.
SourceStringSource feature responsible for the execution, such as ChatSummary, Now Assist in AI Search, or WWNA: Refine.
Started AtDate/TimeTimestamp when the generative AI execution started.
StatusStringStatus of the AI log. Possible values: Success, Error.
Target LanguageStringTarget language for the AI log.
Time TakenIntegerTime taken for the AI log process.
Untranslated PromptStringThe untranslated version of the prompt.
UpdatedDate/TimeDate and time when the log entry was last updated.
Updated ByStringUser who made updates to the log.
UpdatesIntegerNumber of updates made to the log record.

Gen AI Usage Log [sys_gen_ai_usage_log] table

Tracks each use of a Now Assist capability triggered from Workflow Studio, Virtual Agent Designer topics, or scripts such as business rules and UI actions.

ColumnData TypeDescription
AssistsIntegerNumber of assists used or consumed.
CreatedDate/TimeDate and time when the log entry was created.
Created ByStringContains user information that initiated the execution or flow.
DocumentDocument IDDocument ID for metadata used for the requested execution.
Document TableStringTable name for the document table.
DomainDomain IDDomain associated with the execution that generated the log entry.
Domain PathDomain PathPath associated with the domain from where the capability is executed.
Execution TypeChoiceType of execution. Possible values: Test, Evaluation, Auto Prompt Tuning.
FeatureReferenceSource feature for the assist usage.
Line Item NameStringLicense line item name associated with the assist usage.
License NameStringLicense name associated with the assist usage.
Plugin NameStringPlugin name that the feature responsible for the assist usage is part of.
Skill Config IdReferenceID of the skill responsible for the assist usage.
StatusChoiceStatus of the usage log. Possible values: Completed, Pending.
StrategyChoiceStrategy used for pricing the assist usage.
Trial AssistsIntegerNumber of assists counted as trial assists.
UserReferenceUser associated with the assist usage.