AI (opt-in)

AI features

List AI Features

discourse_ai_list_features

List visible computed Discourse AI modules, feature enabled state, assigned agents, and effective LLMs. Requires admin credentials.

Get AI Feature Configuration

discourse_ai_get_feature_config

Resolve a visible feature module ID and return its computed state plus editable settings from its exact ai-features/ area. Credential settings are omitted. Requires admin credentials.

Body

application/json
module_idinteger | stringrequired
Show child attributes
Any of
integer
string

Update AI Feature Configuration

discourse_ai_update_feature_config

Atomically bulk-update only non-secret settings freshly exposed by one exact AI feature area, with optional compare-before-write original_values. Refreshes effective state afterward. Production behavior changes immediately. Requires admin credentials and write mode.

Body

application/json
module_idinteger | stringrequired
Show child attributes
Any of
integer
string
settingsobjectrequired
Show child attributes
[key: string]string | number | boolean | Array<string | number>
Show child attributes
Any of
string
number
boolean
Array<string | number>
Show child attributes
Any of
string
number
original_valuesobject
Show child attributes
[key: string]string | number | boolean | Array<string | number>
Show child attributes
Any of
string
number
boolean
Array<string | number>
Show child attributes
Any of
string
number