---
sourceDocument: Brazil API Reference
sourceDocumentLink: https://www.servicenow.com/docs/r/api-reference

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Properties

# ServiceNow Otto for Code properties {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of ServiceNow Otto for Code properties

ServiceNow Otto for Code properties allow customers to configure and optimize AI-powered code generation features within their ServiceNow instances.
These properties enable control over code assist functionality, AI-generated code tracking, logging, and performance settings.
Adjusting these properties helps tailor the coding experience to meet organizational needs and improve developer productivity.
Show full answer Show less  

## Key Features

* **Enable Code Assist:** The `snnowassistcode.enablecodeassist` property activates AI-driven code generation in supported script editors. It is enabled by default and can also be managed via the AI Admin Hub.
* **Promptless Experience:** `snnowassistcode.enablepromptlessexperience` allows code completion without user prompts, enhancing fluid coding workflows. It is disabled by default.
* **Prompt Modal Dialog:** `snnowassistcode.enablepromptmodal` controls the availability of the "Code with Now Assist" dialog for entering text prompts to guide code generation, enabled by default.
* **AI Code Line Marker:** `snnowassistcode.showaicodelinemarker` visually indicates AI-generated code lines in script editors, helping developers identify and manage AI contributions. This is enabled by default but the marker disappears if the AI-generated code is edited.
* **Schema Collection for Contextual Suggestions:** `snnowassistcode.collectschemaforcodeassist` toggles collecting table and script schema to provide contextual code suggestions. Disabling it can speed up suggestions but may reduce relevance. Enabled by default.
* **Logging Edited Responses:** `snnowassistcode.logeditedresponse` captures the full script content after accepting AI suggestions, aiding auditing and troubleshooting. Enabled by default and requires `nowassistcodeadmin` role to modify.
* **Async Payload Size:** `snnowassistcode.asyncmaxpayloadsize` sets the maximum size for autocomplete messages sent over the Asynchronous Message Bus, with a default of 7056 bytes to stay within the platform limit of 8 KB. This helps optimize performance and prevent errors.
* **Enable Autocomplete:** `snnowassistcode.enableautocomplete` enables intelligent, context-aware AI code suggestions as scripts are written. Enabled by default and requires `nowassistcodeadmin` role to modify.
* **Disable SnowSkates Autocomplete:** `snnowassistcode.disablesnowsk8sautocomplete` stops Now Assist from using the SnowSkates suggestion engine, useful if a different provider is preferred. Disabled by default and requires `nowassistcodeadmin` role to modify.

## Practical Application and Permissions

These properties are managed in the `sysproperties` table, accessible by entering `sysproperties.list` in the navigation filter. While all users with access can modify most properties, certain sensitive properties related to logging, payload size, autocomplete enablement, and SnowSkates usage require the `nowassistcodeadmin` role for modification. This ensures secure management of critical AI coding features.

By configuring these properties, ServiceNow customers can optimize AI-assisted coding to fit their development processes, improve code quality, track AI contributions, and maintain performance and security standards.  
You can adjust how code generation functions on an instance using several advanced properties.
Note:  
To open the System Properties \[sys_properties\] table, enter <kbd class="ph userinput">sys_properties.list</kbd> in the navigation filter.
{#now-assist-code-properties__table_dsp_1h2_tyb__entry__2}

| Property | Description |
|-|-|
| sn_now_assist_code.enable_code_assist | Enables using code generation in supported script editors. * Type: true \| false * Default value: true * Location: System Property \[sys_properties\] table * Learn more: You can also enable code generation from AI Admin Hub. For more information, see [Activate an AI skill](https://www.servicenow.com/docs/access?context=configure-a-now-assist-skill&version=brazil&pubname=brazil-intelligent-experiences&ft:locale=en-US). {#now-assist-code-properties__ul_esp_1h2_tyb} |
| sn_now_assist_code.enable_promptless_experience | Enables using code completion in the script editor. * Type: true \| false * Default value: false * Location: System Property \[sys_properties\] table {#now-assist-code-properties__ul_rgr_px4_qbc} |
| sn_now_assist_code.enable_prompt_modal | Enables using the Code with Now Assist dialog box to provide text prompts. * Type: true \| false * Default value: true * Location: System Property \[sys_properties\] table * Learn more: [Generate code with AI-powered code generation](https://www.servicenow.com/docs/YAz3ZtMe~Kr0hMC14cZg0w "Generate code from text with AI-powered ServiceNow Otto for Code.") {#now-assist-code-properties__ul_xc3_t21_2cc} |
| sn_now_assist_code.show_ai_code_line_marker | Enables tracking which lines of code are AI-generated. In a script editor, the AI-generated codes are indicated by a line next to the line numbers. However, if you edit any AI-generated code, the indicator doesn't appear for the modified lines. * Type: true \| false * Default value: true * Location: System Property \[sys_properties\] table * Learn more: [Tracking AI-generated code](https://www.servicenow.com/docs/go9eOkQ8g4GVQUSz222A7Q#tracking-ai-generated-code "Control when to track and indicate that code is AI-generated.") {#now-assist-code-properties__ul_mbf_d32_tyb} |
| sn_now_assist_code.collect_schema_for_code_assist | Specifies whether to collect the data schema of the table, a business rule, or client script runs when using code generation. If you set this property to false, you can receive code suggestions faster but may get fewer contextual suggestions. * Type: true \| false * Default value: true * Location: System Property \[sys_properties\] table {#now-assist-code-properties__ul_tbk_d32_tyb} |
| sn_now_assist_code.log_edited_response | Enables logging of the full script content after you accept a suggestion from Now Assist in script editors. When enabled, the system captures the entire script body immediately after you accept an AI-generated suggestion and saves it in the sys_generative_ai_log.edited_response field. This property is useful for auditing, troubleshooting, or reviewing how suggestions were added to the final script. * Type: true \| false * Default value: true * Location: System Property \[sys_properties\] table {#now-assist-code-properties__ul_iwc_s33_mhc} |
| sn_now_assist_code.async_max_payload_size | Specifies the maximum payload size for autocomplete messages sent over the Asynchronous Message Bus (AMB). The current platform limit for AMB payloads is 8 KB, and it shouldn't be exceeded. Adjusting this setting helps optimize performance and help prevent errors caused by oversized payloads. * Type: integer * Default value: 7056 * Location: System Property \[sys_properties\] table {#now-assist-code-properties__ul_ach_v33_mhc} |
| sn_now_assist_code.enable_auto_complete | Enables AI-driven code generation and autocomplete within Now Assist. Activate this property to enable Now Assist to provide intelligent, context-aware code suggestions as you write scripts. * Type: true \| false * Default value: true * Location: System Property \[sys_properties\] table {#now-assist-code-properties__ul_i2q_y33_mhc} |
| sn_now_assist_code.disable_snowsk8s_autocomplete | Stops Now Assist from using SnowSkates for autocomplete. Set this property to true if you prefer a different code-suggestion provider or want to restrict SnowSkates-based processing. * Type: true \| false * Default value: false * Location: System Property \[sys_properties\] table {#now-assist-code-properties__ul_lyq_cj3_mhc} |
[Table 1. Properties for ServiceNow Otto for Code]

{#now-assist-code-properties__table_dsp_1h2_tyb}  
Note:  
Users with access to the system property table can modify system properties. However, updating the following system properties requires the now_assist_code_admin role:

* sn_now_assist_code.log_edited_response
* sn_now_assist_code.async_max_payload_size
* sn_now_assist_code.enable_auto_complete
* sn_now_assist_code.disable_snowsk8s_autocomplete
{#now-assist-code-properties__ul_l53_rrg_nhc}

