GET /mltk/agent_feature_flag
GET /mltk/agent_feature_flag
Returns the agent-builder feature flag (internally keyed `aitk_agent_builder_feature_enabled`, but the response key is `mltk_hosted_llm` for legacy reasons).
Description. Returns the agent-builder feature flag (internally keyed aitk_agent_builder_feature_enabled, but the response key is mltk_hosted_llm for legacy reasons).
Backing store. mlspl.conf section [slim_feature_flags].
Response (200).
{
"features": { "mltk_hosted_llm": true },
"status": "success"
}
Example.
curl -sk -u "$SPLUNK_USER:$SPLUNK_PASSWORD"
"$SPLUNK_HOST/servicesNS/-/Splunk_ML_Toolkit/mltk/agent_feature_flag?output_mode=json"
Source. Splunk_ML_Toolkit/bin/rest_handlers/agent_feature_flag.py