Skip to main content

Usage module

system:usage

Provides entry points for viewing AI and network request usage.

This type is written into the server object of a module definition, with type selecting the implementation. A system's modules reference module configuration IDs and cannot hold implementation type objects directly. For the common structure see Module definition.

JSON fields​

FieldTypeRequiredDefaultDescription
typeResource IDyes—system:usage

This type is core infrastructure and cannot be removed through the ordinary module toggle.

JSON example​

{
"type": "system:usage"
}

This example is the server value of a module definition; the complete file can also set client and order.

Java entry point​

com.iafenvoy.system.module.builtin.UsageSystemModule. This page is based on the Codec in the current 26.1.2 source.