GET /mltk/list_connections

GET /mltk/list_connections

Combined list of LLM, Docker, and Kubernetes connections.

Description. Combined list of LLM, Docker, and Kubernetes connections. LLM entries come from the AI Commander KV collection (only is_saved + is_model_saved entries). Docker / Kubernetes entries come from container_connections.conf. Capabilities are checked per family — entries whose capability gate is missing are simply omitted from the result.

Response (200).

{
  "status": "success",
  "result": [
    { "connection_type": "llm",        "Provider": "OpenAI", "Model": "gpt-4o-mini", "Connection Name": "default" },
    { "connection_type": "docker",     "docker_url": "unix:///var/run/docker.sock", "tls_enabled": false },
    { "connection_type": "kubernetes", "cluster_url": "https://k8s.example.com" }
  ]
}

Example.

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

Source. bin/rest_handlers/list_models.py, bin/rest_handlers/upload_model.py, bin/rest_handlers/register_model.py, bin/rest_handlers/list_connections.py, bin/models/listmodels.py, bin/util/onnx_util.py, bin/util/sagemaker_util_extensions.py.

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

Type to search the portal.