GET /mltk/aicommander/{service}/{connection_name}/{model}

GET /mltk/aicommander/{service}/{connection_name}/{model}

Fetch a single model's settings for editing in the UI.

  • edit_ai_commander_config
  • list_ai_commander_config

Description. Fetch a single model's settings for editing in the UI. Secrets are masked. service is URL-encoded (e.g. OpenAI, Azure_OpenAI).

Response (200).

{
  "edit_data": {
    "service": "OpenAI",
    "connection_name": "default",
    "model": "gpt-4o-mini",
    "servicesettings": { "endpoint": { "value": "..." } },
    "modelsettings":   { "max_tokens": { "value": 4096 } }
  },
  "status": "success"
}

Example.

curl -sk -u "$SPLUNK_USER:$SPLUNK_PASSWORD" 
  "$SPLUNK_HOST/servicesNS/nobody/Splunk_ML_Toolkit/mltk/aicommander/OpenAI/default/gpt-4o-mini?output_mode=json"

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

Type to search the portal.