GET /mltk/mltk_feature_flags

GET /mltk/mltk_feature_flags

Returns the hosted-LLM feature flag the UI uses to decide whether Splunk Hosted Models are available.

Description. Returns the hosted-LLM feature flag the UI uses to decide whether Splunk Hosted Models are available.

Backing store. mlspl.conf (read via is_hosted_llm_available()).

Prerequisites. None.

Response (200).

{
  "features": { "mltk_hosted_llm": true },
  "status": "success"
}

Example.

curl -sk -u "$SPLUNK_USER:$SPLUNK_PASSWORD" 
  "$SPLUNK_HOST/servicesNS/-/Splunk_ML_Toolkit/mltk/mltk_feature_flags?output_mode=json"

Source. Splunk_ML_Toolkit/bin/rest_handlers/mltk_feature_flags.py

Press Cmd/Ctrl+K to focus search. Esc to close.

Type to search the portal.